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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   taking CDATA from XML

[ Lists Home | Date Index | Thread Index ]
  • From: Huaxin Zhang <hxzhang@cs.ualberta.ca>
  • To: saxon.xsl@listbot.com
  • Date: Sun, 03 Dec 2000 23:55:01 -0700 (MST)

Hi,

What I want to do is to take the following blah, blah from the document:

<anElement>
   <![DATA[
       blah,blah..
   ]]>
</anElement>

ANd I specify my DTD like <!ELEMENT anElement ANY>

However, after parsed to document by IBM DOMParser (sun's javax parser as
well), the CDATA section get lost. 

My tag is like "//anElement/text()".

Is there anything with that? I can't figure out why. When I use SAXON
directly to fetch the CDATA using Context and Expression, every thing is
fine.

Thanks a lot!






 

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

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