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

Re: Avoiding disable-output-escaping

Subject: Re: Avoiding disable-output-escaping
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 27 Apr 2001 10:31:23 +0100
disable output escap
 I try to generate JSP from XML. In these JSP´s, I need output tags like this
 one:

 <sw:hpath startscan="0" endscan="100" startpath="2" />

 How can I get such an expression without disable-output-escaping?

In XSLT you don't output tags, but rather a tree of element and
attribute nodes. If you put that line, exactly as is in a template 
(after having declared the sw: namespace prefix in your stylesheet)
then a suitable set of element and attribute nodes will be placed in the
result tree. When that tree is linearised that expression (or an
equivalent one, for example using ' instead of ") will be created.

i>  an external XML file that looks like this:

> <env-entry-value><![CDATA[
                   ^^^^^^^^
your life would be a lot easier without that CDATA section (which tells
the system the content is not XML, when clearly it is
intended to be XML)


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.