YML: A Grand Unification of SAX and DOM? (fwd)
Clark C. Evans
clark.evans at manhattanproject.com
Sat Dec 4 19:01:35 GMT 1999
Don's examples didn't demonstrate recursion,
and this is the meat of the proposal.
On Sat, 4 Dec 1999, Rick Jelliffe wrote:
> From: Don Park <donpark at docuverse.com>
> > <element>
> > <pocket:attributes>
> > <att>
> > <ch>val</ch>
> > </att>
> > </pocket:attributes>
> > <pocket:children>
> > <foo>
> > <pocket:text>bar</pocket:text>
> > </foo>
> > </pocket:children>
> ></element>
>
> Compare to XML less RSI-inducing
> <pocket ch="val"><foo>bar</foo></pocket>
>
> Note that the XSL pattern to find the attribute ch of element
> pocket is "pocket/@ch" for the XML but
> "element/pocket:children/../pocket:attributes/att/ch"
> for the alleged SML. It could be said that one could use
> "element/pocket:attributes/att/ch" but then there is the
> validation possibility where the pocket:attributes elements
> are made part of some other element.
Yet another reason for the distinction being set
at the syntax level, as it currently is with XML.
;) Clark
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list