[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML - XML conversion

Subject: RE: XML - XML conversion
From: "Andy Srinivasan" <sriandy74@xxxxxxxxxxx>
Date: Fri, 15 Jun 2001 09:07:51 -0400
xalan xml conversion
Kay

When I use the same XML and XSL and view it in IE5.0, i get the desired result. I am not getting < and > only when I use xalan.

Anand


From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  XML - XML conversion
Date: Fri, 15 Jun 2001 09:48:26 +0100

> When I use Xalan-java for XML-XML conversion, I am getting
> &gt; and &lt;
> 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 &lt; 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


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.