Subject: Re: [xsl] Lost Attributes? From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 5 Mar 2002 19:51:19 GMT |
> Well, I figured out one bug. I guess you cannot use the xsl:copy-of > when you call an attribute value but MUST use xsl:value-of? you can use copy-of on attribute nodes but it copies the node, so if you put it inside xsl:attribute then you're trying to add an attribute to an attribute which doesn't work. If you want teh attribute in teh result to have same name as the source xsl:copy-of is easier, if you are\ changing the name using xsl:attribute as you have, or simpler in most cases, an attribute value template, must be used. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Lost Attributes?, David Carlisle | Thread | [xsl] NEWLINES, Kim Durand |
Re: [xsl] Lost Attributes?, Mike Ferrando | Date | Re: [xsl] Resetting context to main, Markus Spath |
Month |