XML::Xerces : Schema for ignoring unknown tags ?

A

Abhinav

Hi,

I posted this on comp.text.xml, but could not resolve the issue. I am
posting this here in the hope that this is specific to XML::Xerces :
Thanks .. That worked ..

However, If I want to ignore elements both *before* and *after* <aa> ?
adding another <xs:any> before <xs:element name="aa"> does not work.
XML::Xerces gives the error :

MESSAGE: Not enough elements to match content model : '((,aa),)'
Any pointers appreciated!

Is it actually possible (In XML in general, and XML::Xerces in particular)
to check for an arbitrary no. of tags before and after ther required tags?

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top