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

Re: Using CDATA but still "<" is inserted ???

Subject: Re: Using CDATA but still "<" is inserted ???
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 1 Oct 1999 01:51:22 +0100 (BST)
lt cdata

> I can't figure out why I get the following:
because that's what you asked for.

there is _no_ difference in XML between
<![CDATA[<a href]]>
and
&lt;a href

So the `value-of' that you quote is equivalent to your input, as you
would expect.

they are both equivalent ways of entering the 7 characters <a href in a
way that ensures they are not taken as the a element and href attribute.

If you want this to be an a element not just the literal characters <a 
why did you quote the original with a CDATA section in your input XML?

It is possible to recognise the quoted string in XSL and generate an
element but before going that route can you not just remove the
offending CDATA section?

David


 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.