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

RE: treating a CDATA node as Elements nodes

Subject: RE: treating a CDATA node as Elements nodes
From: Arian Hojat <arianhojat2000@xxxxxxxxx>
Date: Thu, 21 Jul 2005 11:50:47 -0700 (PDT)
xml cdata node
whooops thats what i meant, a CDATA is a simple text
node, just trying to get more info out of it if
possible... 

David was mentioning that "some xslt systems have
extension functions to allow you to
execute a [xml] parser" with an extension function.
Does Saxon have an extension to do this and/or how
would one go about doing this?

I am not sure if I will ever use it, just curious when
I was looking at bringing rss feeds into flash.


--- Michael Kay <mike@xxxxxxxxxxxx> wrote:

> > CDATA sections are viewed as a single node that
> can't
> > be split up even more in template rules right?
> 
> Wrong. CDATA sections don't result in nodes in the
> tree. CDATA is simply a
> way of escaping special characters, so that & means
> ampersand rather than
> introducing an entity reference, and < means
> less-than rather than
> introducing a start tag. The content of the CDATA
> section is concatenated
> with adjacent text to produce a normal text node in
> the tree. CDATA section
> boundaries are not considered to carry any
> information.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.