[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [XSLT, Version 1] Stylesheet to embed a chunk of X
<xsl:value-of disable-output-escaping="no" select="$test"/> d-o-e only affects the way < and & are serialised iin element content. It has no effect on the way element nodes are serialised, and if you use value-of on an element node then you get the string value of the elment which is just teh character data in all its descendents. You need to apply templates that match * and output <,xsl:value-of select="name()"/>> etc (there are I believe some templates in the faq for this, or google will show some in the archives of this list and other places) by the way <xsl:copy-of select="//Member[1]"/> that is all Member elements that are the first child of their parent, is that really what you want? <pre> <xsl:apply-templates mode="verb" select="(//Member)[1]"/> </pre> David
|
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
|