Hi,

i've a short xml->xsl->fo question.

my xml is:

<text>Here is some text<B> with bold <B/><I>and italic<I/><B><I> and both<I/><B/> elements in it.<text/>

when i've a template for "text", "B" and "I" how can i get the real text in the right order?

some xsl:

<xsl:template match="text">
<fo:block>
   <xsl:apply-tempaltes />
<fo:block/>
<xsl:template/>

<xsl:template match="B">
<fo:inline font-weight="bold"><xsl:apply-templates /><fo:inline/>
<xsl:template/>

<xsl:template match="I">
<fo:inline font-style="italic"><xsl:apply-templates /><fo:inline/>
<xsl:template/>

don't look for typos!!

Thanks

Dirk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to