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

Re: Understanding character handling

Subject: Re: Understanding character handling
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 8 Jan 1999 17:46:44 GMT
understanding characters
   The DOM does allow parsers to record the use of CDATA. So the two cases
       <FOO><![CDATA[&foo;]]></FOO>
       <FOO>&amp;foo;</FOO>
  can be distinguished in the DOM model.

Strange (but, I am sure it is true).

  So the first line could be output
  exactly as it was read in.

but I don't think this follows even then. If the two lines above are
part of an XSL stylesheet, then if you view that as an XML document and
query it with the DOM. You are saying that you can distinguish that.

But surely the actual _result_ of parsing these two expressions is the
same sequence of characters, so the stylesheet that the XSL engine gets
to work with, which is which is the result of parsing the XSL file as an
XML document, not the result of a series of DOM queries, will be the
same in the two cases, and so any XSL engine must surely be forced to
act the same way on these two template fragments.

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.