[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: YML: A Grand Unification of SAX and DOM? (fwd)
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@d...> > > <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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|