[
Lists Home |
Date Index |
Thread Index
]
- From: Dmitri Kondratiev <dima@paragraph.com>
- To: xml-dev@ic.ac.uk
- Date: Thu, 12 Mar 1998 16:12:07 +0300
The following are some of the features I'd like to be able to use in
XMLApplication Framework :
- Support for both, event-based and tree-based parsers, to serialize XML
elements to application-specific element-objects.
Tree-based approach is certainly cleaner when you need to parse document as
a whole, but, imagine, in my appl. I may need to stop parsing relatively big
document in the middle, when I come across some element. So I don't need the
whole tree! And still I may need to instantiate my appl. specific
element-objects.
- Runtime configuration of "element-semantic" handlers.
Ideally I'd like to be able to switch element-semantic handlers in run-time.
This might seem nonsense first, but if you give this idea a second thought
you'll see the point. XML is very wise to **not imply element semantic**, so
it may be useful for some app. (such as mine) to be able to switch one or
more times when processing a document from one set of element-objects to
another. In other words the ability to bind different semantic-handlers (and
thus element-objects) to elements in runtime is needed. Naming handler in
the XML document will allow to start parsing with some general
"semantic-switch" handler, that will activate different semantic-handlers as
needed.
- Basic support for element-object to element markup serialization. This
will allow application to modify element-object in runtime and then
serialize it **in application-specific way** back in markup representation
by means of XMLDataOutputStream stream connected to XML document instance.
- Markup ReadElement/InsertElement from/to
XMLDataInputStream/XMLDataOutputStream. With both streams connected to XML
document instance.
- Markup CutElement/PasteElement from/to
XMLDataInputStream/XMLDataOutputStream. With both streams connected to XML
document instance.
Dima
---------------------------
dima@paragraph.com
102401.2457@compuserve.com
http://www.geocities.com/SiliconValley/Lakes/3767/
tel: 07-095-464-9241
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)
|