Skip to content
Discussion options

You must be logged in to vote

I added the copying of the SVGs to the temp dir, and with that then I could easily apply the XSLT to them:

  <target name="com.servicenow.fixsvgs.rewritesvgs" description="rewrite SVG files for inlining" if="com.servicenow.fixsvgs">
    <echo>[DEBUG] rewrite SVGs to inline with HTML</echo> 
    
    <echo>[DEBUG] Copying images to temp directory so we can then process the SVG files:</echo>
    <copy todir="${dita.temp.dir}">
      <ditafileset format="image"/>
    </copy>
    
    <fileset id="svg.files" dir="${dita.temp.dir}" includes="**/*.svg"/>
    <!--    <pathconvert property="svg.file.list" refid="svg.files" pathsep="&#10;"/>
    <echo message="SVG files selected:${svg.file.list}"/…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ruthrapr
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ekimbernow
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants