Because of the structure of the xml-files i'm evaluating,
the </A> is
written to the output tree after the <A>.
that is your problem, you have not generated an A element just written
some text that looks like <A> so as far as XSLT is concerned your top
level generated element is B.
Don't use disable-output-escaping ...
But thanks for contributing yet another good reason for not using
disable-output-escaping. It's a nice illustration of the consequences.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--