[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: handling embedded XML tags
Mick,
At 11:17 PM 10/1/2002, you wrote: What I am trying to achieve is this: By doing this: <xsl:template match="para"> <p> <xsl:apply-templates/> </p> </xsl:template> <xsl:template match="emphasis"> <span> <xsl:apply-templates/> </span> </xsl:template> Forget value-of until you've mastered working all the way through the node tree applying templates (you'll get the value-of at the bottom in the text node). Read up on the built in templates and how the processor traverses the tree by default. Soon it will click. Hope this is clear. Very. :-) Cheers, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|