[Expat-discuss] return tag contents as it is

Allen, Michael B (RSCH) Michael_B_Allen@ml.com
Tue, 21 Aug 2001 21:16:18 -0400


I don't think so. That would be an extra feature of an XML parser. Perhaps you
can use the special CDATA tag into which you may put anything including xml.

> -----Original Message-----
> From:	Lin Shen [SMTP:lshen@cisco.com]
> Sent:	Tuesday, August 21, 2001 9:11 PM
> To:	expat-discuss@lists.sourceforge.net
> Subject:	[Expat-discuss] return tag contents as it is
> 
> Hi,
> 
> Is it possible to have the parser return the contents of certain tags as it
> is? For instance, for the following xml segment
> 
> <grammar>
>     <rule id="root">
>         text <ruleref tag="&lt tag &gt"/>
>     </rule>
> </grammar>
> 
> is there is a way to let the parser to return whatever contained in
> <grammar> tag w/out any parsing, including the escape char and the <rule>
> tag?
> 
> Please send reply to my personal account lshen@cisco.com
> 
> thanks
> lin
> 
> 
> _______________________________________________
> Expat-discuss mailing list
> Expat-discuss@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/expat-discuss