OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: taking CDATA from XML

[ Lists Home | Date Index | Thread Index ]
  • From: Huaxin Zhang <hxzhang@cs.ualberta.ca>
  • To: SAXON XSL Discussion List <saxon.xsl@listbot.com>
  • Date: Mon, 04 Dec 2000 10:48:51 -0700 (MST)

So is there any work-around to embed a program inside XML and take it
out using XSL (or whatever)?


On Mon, 4 Dec 2000, Kay Michael wrote:

> SAXON XSL Discussion List - http://users.iclway.co.uk/mhkay/saxon/
> 
> > What I want to do is to take the following blah, blah from 
> > the document:
> > 
> > <anElement>
> >    <![CDATA[                               -- corrected by MHK
> >        blah,blah..
> >    ]]>
> > </anElement>
> > 
> > the CDATA section get lost. 
> > 
> Correct. CDATA is regarded (by XPath) as purely a lexical input mechanism,
> not part of the information content of the document. It's like the
> distinction between single quotes and double quotes around attributes.
> 
> Mike Kay
> 
> 
> ______________________________________________________________________
> To unsubscribe, write to saxon.xsl-unsubscribe@listbot.com
> 
> Start Your Own FREE Email List at http://www.listbot.com/links/joinlb
> 





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS