[Expat-discuss] return tag contents as it is
Lin Shen
lshen@cisco.com
Tue, 21 Aug 2001 18:57:52 -0700
What about getting the begin and end positions of the <grammar> tag in the
buffer (whatever that is)? So that the contents can be copied out.
lin
----- Original Message -----
From: "Allen, Michael B (RSCH)" <Michael_B_Allen@ml.com>
To: "'Lin Shen'" <lshen@cisco.com>; <expat-discuss@lists.sourceforge.net>
Sent: Tuesday, August 21, 2001 6:16 PM
Subject: RE: [Expat-discuss] return tag contents as it is
> 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="< tag >"/>
> > </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
>