[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
I'm using a pull approach rather than a push approach to do the transformation as the output is different depending on the nesting level. Each section can have text nodes (that contain HTML tags that I need to preserve). Any node can have a <replace> element in it. My xsl is basically <apply-templates select="Chapter"> <xsl:copy-of select="text"> <apply-templates select="Section"> <xsl:copy-of select="text"> <apply-templates select="Sub-Section"> <xsl:copy-of select="text"> <apply-templates select="clause"> <xsl:copy-of select="text"> If I just use <apply-templates select="replace"> the replaced text is all in the wrong place in the output stream. So can I use a 2-stage approach: e.g. use identity transform to convert all <replace> elements to required text and then feed this transformed output to my current transforms? Regards mark
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Range of Documents, Jimenez, Luis | Thread | Re: [xsl] Dynamic dispatch of funct, iwanttokeepanon |
RE: [xsl] Range of Documents, Jimenez, Luis | Date | Re: [xsl] Dynamic dispatch of funct, iwanttokeepanon |
Month |
Keywords