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

[xsl] Re: Converting specific child elements into att riutes of parent


Subject: [xsl] Re: Converting specific child elements into att riutes of parent
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Fri, 31 Oct 2003 17:21:33 -0500




> file:///C:/working/XML/elmToAtt.xsl; Line #31; Column #5; Cannot add
> attribute id after child nodes or before an element is produced.
Attribute
> will be ignored.

You've tried to use <xsl:attribute>, or to copy an attibute node drom some
other source, after non-attribute content has been added to the element.
XSLT doesn't permit that; you have to write the stylesheet to prevent it
from happening.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords