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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: SV: SV: [xml-dev] XML=WAP? And DOA?

[ Lists Home | Date Index | Thread Index ]

Nicolas LEHUEN wrote:

> How do you process elements that you don't know ?

Several ways:

1) Work on the structure, not the tag name. Examples are DOM, SAX, and
tools such as XMLWriter.

2) Interpret tag names based on information supplied programmatically at
run time. Examples are XSLT and XQuery. DTD-based editors also fit this

3) Present tag information to the user and let them decide. An example
is an XML-based search engine that lets people refine queries based on
tag names.

What you can't do, and I don't think you ever will be able to do, is
have somebody ship you a random XML document and have your system
automatically recognize it as (for example) an invoice, then enter the
contents of the document into your invoice system. It just won't happen
without human interaction.


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

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