Subject: Re: [xsl] Copy XML into an attribute From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 25 Mar 2003 13:20:02 GMT |
XML attributes can not contain elements (or any other XML structure). So you can not copy an element into an attribute value. If you want to linearise teh XMl tree into a string to put into an attribute you will need templates matching elements that explictly writes out the string syntax <<xsl:value-of name()"/> ...etc The archives of this list, or the FAQ will show several such templates. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Copy XML into an attribute, Fran | Thread | Re: [xsl] Copy XML into an attribut, Oleg Tkachenko |
Re: [xsl] Breaking up XML(XHTML) in, David Carlisle | Date | Re: [xsl] xmlDoc.documentElement Er, Joe Fawcett |
Month |