xsl-list
[Top] [All Lists]

RE: Forbidden with several xsl:attribute from xsl:apply-templates?

2003-07-01 00:31:28
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.

Nope. Just attribute output.
 
Note that this includes a whitespace text node. 

Thanks for the responses. Actually I tried to put all the attributes on
one single row, with the calling template also on one single row, with
no white-space at all betwen the elements. No difference. It seems as if
the very occurrence of two <xsl:call-template> in a row scares the
interpreter, when the second <xsl:call-template> outputs attributes. My
guess is on a minor bug, but I may be wrong.

Ay least now I know that it *should* work.

Regards Erik Beijnoff

erik(_at_)beijnoff(_dot_)com
erik(_at_)addsystems(_dot_)com



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



<Prev in Thread] Current Thread [Next in Thread>