I guess the problem is in the "..." that you haven't shown us. It is
probably writing elements or text nodes to the output. You can't write
an attribute after writing a text node or element child to the same
parent.
Note that this includes a whitespace text node.
______________________________________
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