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

RE: Displaying text nodes and child nodes

Subject: RE: Displaying text nodes and child nodes
From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Fri, 24 May 2002 13:32:39 +0100
displaying text in xml
I tryied your code but it didn't work because I use the namespace
'http://www.w3.org/TR/WD-xsl'

IE gave this error:

Keyword xsl:copy-of may not be used in namespace
http://www.w3.org/TR/WD-xsl.


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
Carlisle
Sent: sexta-feira, 24 de Maio de 2002 11:42
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Displaying text nodes and child nodes



> I try to use a cdata to make the stylesheet ignore those tags but it pass
to
> the browser as smile text and they are shown as &lt;tag&gt;.

Yes that's exactly what CDATA is for, to tell the parser that < does not
start a tag but is just _c_haracter  _data_.

Don't use CDATA sections in your source, and then just use xsl:copy-of (not
xsl:copy or xsl:value-of) to copy the tree to the output.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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




 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.