[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSLT Error message


Subject: Re: [xsl] XSLT Error message
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Nov 2003 13:42:01 GMT

> Is anyone else
> familiar with this error and has a second to give a any suggestions?

this is specified as a recoverable error, the system is allowed to
report it (and die) or just silently ignore the offending instruction.


> xsl:attribute: node already has children

You can't add attributes after you have added child nodes so

<foo>
<x/>
<xsl:attribute name="y">
is bad, as is

<foo>
hello
<xsl:attribute name="y">

You have to have

<foo>
<xsl:attribute name="y">

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



Current Thread