|
Subject: Re: [xsl] [XSLT, Version 1] Stylesheet to embed a chunk of XML into HTML? From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 24 Aug 2006 13:10:10 +0100 |
<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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] [XSLT, Version 1] Stylesheet , Costello, Roger L. | Thread | Re: [xsl] [XSLT, Version 1] Stylesh, bryan rasmussen |
| [xsl] [XSLT, Version 1] Stylesheet , Costello, Roger L. | Date | Re: [xsl] [XSLT, Version 1] Stylesh, bryan rasmussen |
| Month |