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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Selective parsing of elements

[ Lists Home | Date Index | Thread Index ]
  • From: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
  • To: <xml-dev@ic.ac.uk>
  • Date: Fri, 23 Oct 1998 14:36:11 +0100

>I want to parse select XML tags, and pass the remaining ones 'as-is'. Is
>there a way, or is there a certain parser, that will allow me to
>'register', for example, the tags I'm interested in, and pass the rest as
>PCDATA? Is there anything wrong with this approach?
>
>I've looked at the SAXON library, but at first sight it's slightly
>overkill for my purpose.


Agreed, SAXON probably does a lot of things you don't need, but looking at
it the other way, it also makes it very easy to do the thing you are asking
for.

I'm sorry if I've made it too complicated, that's one thing I was always
trying to avoid, but creeping feature syndrome affects us all...

Mike Kay


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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