|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: creating a string of child node names
> maybe because I had children in my tags ? Tags can't have children (although a start tag can contain attribute markup) but xslt can not access the tags in the original document anyway. however that is just the standard rant against mis-use of the word tag which has a well defined meaning, but for some strange reason is often misused to mean element. returning to your real point. > Using My real file for some reason my list ended up ended up with > value="InvoiceNumber,,DespatchNoteNumber,,OrderNumber,,AccountNo,," If you got that using the template I posted then there is a bug somewhere. Most common caase of getting that would be to apply templates to some nodes without a name so name() returns nothing. This would be the white space text nodes used to indent your children. I had apply-templates select="*" so did not select text nodes, if you had select="node() or no select attribute at all, you would get the result you posted. David -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ 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
|
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
|

Cart








