Quantcast
Channel: PTC Community: Message List - Arbortext
Viewing all articles
Browse latest Browse all 3717

Using fo:instream-foreign-object to create an svg ellipse around a step number

$
0
0

Hi Kathy-

 

 

Don't give up hope yet. If you're creative, you can probably set
something up to do this as part of your publishing process. You're
already generating the SVG, so just route it out to a file and then
generate a reference to that file as an fo:external-graphic instead of
putting it inline. Here's an XSL template that gives you a general sense
of how this could work:

 

 

<xsl:template match="graphic">                <xsl:document href="{some_generated_filename}.svg">                </xsl:document>                <fo:external-graphic src="{same_generate_filename}.svg"></xsl:template>

 

 

Note that the <xsl:document> element is an XSLT 2.0 feature, so you'll
need to set the version attribute on your xsl:stylesheet root element to
"2.0". You might also have to do some tweaking with the path for the
generated SVG file to make this work with PE.

 

 

--Clay

 


Viewing all articles
Browse latest Browse all 3717

Trending Articles