Lists Home |
Date Index |
6/7/2002 11:37:34 AM, Daniel Shane <email@example.com> wrote:
>To phrase this generally, I would like a tool that at any point in the
>parsing I can query it to know what elements can start at this point.
That capability will be defined in the DOM Level 3 specification.
The DOM spec is in flux because the more ambitious "Abstract Schema"
interfaces proved to be too complex to be useful for simple things, and
too limited to be useful for hard things.
In the meantime, you'll have to use an early implementation of the AS
"document editing" functionality (soon to be renamed) or a proprietary
API. I'm pretty sure that all XML editors that support the DOM and validation
(XMetal, Epic, Spy) have APis to do this check. As for toolkits,
Xerces does, I think ... I don't think that Microsoft does, but I could be wrong.