[Home] [By Thread] [By Date] [Recent Entries]
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 category. 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.
|

Cart



