Subject: RE: [xsl] XML - XML conversion From: "Andy Srinivasan" <sriandy74@xxxxxxxxxxx> Date: Fri, 15 Jun 2001 09:07:51 -0400 |
From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] XML - XML conversion Date: Fri, 15 Jun 2001 09:48:26 +0100
> When I use Xalan-java for XML-XML conversion, I am getting > > and < > instead of > and <. So, the browser is throwing up error saying it as > invalid XML. How can I disable output escaping thru my code.
You can disable output escaping by setting disable-output-escaping="yes" on the <xsl:text> or <xsl:value-of> instructions.
But usually, if you need to do so, it's a sign that there's something wrong in your design. Xalan is outputting < rather than < because it's outputting text rather than an element node: why have you written your stylesheet in such a way that the elements look like text?
Mike Kay Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML - XML conversion, Michael Kay | Thread | [xsl] How to check for absence of a, Sudhir Malhotra |
RE: [xsl] position() of a current n, Michael Kay | Date | [xsl] Xslt Error, Earl Spencer |
Month |