the '>' sign doesn't have to be escaped, so it is not escaped. If you
really need > in xml output file, you need put > in the
primary source.
Pavel
David Burry wrote:
> Hi, I'm relatively new to xslt and even newer to this list, so hope this
> is the right place...
>
> Is there a good reason why this xml:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <tag>
> this is a <A HREF="/">test</A>.
> </tag>
>
> plus this xsl:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:output method="xml" encoding="ISO-8859-1"/>
> <!-- nothing needed here, since default output is tag contents -->
> <!-- we could also put a template here that contains one of -->
> <!-- value-of select="." or value-of select="text()" -->
> <!-- and we'd get the exact same results -->
> </xsl:stylesheet>
>
> produces this output:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> this is a <A HREF="/">test</A>.
>
> instead of this output:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> this is a <A HREF="/">test</A>.
>
> ?????
>
> This kind of behavior is really messing up my HTML, making forms not
> function (i.e. not submit) in IE because of technically badly formatted
> default values, etc...
>
> Dave
--
Pavel Hlavnicka
Ginger Alliance
www.gingerall.com