Subject: Re: [xsl] Looking for a concise way of specifying an conditional attribute in output From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 04 May 2011 22:27:34 +0100 |
Because you are using <xsl:value-of/> you are getting the text.
Use <xsl:copy-of/> and you should be fine. That copies the attribute node, not the attribute value, to the option element.
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Looking for a concise way, G. Ken Holman | Thread | Re: [xsl] Looking for a concise way, Andrew Welch |
[xsl] Error message saying doc is n, Steve Fogel | Date | [xsl] Find node with no child text(, Karl Stubsjoen |
Month |