[
Lists Home |
Date Index |
Thread Index
]
- From: "Clark C. Evans" <clark.evans@manhattanproject.com>
- To: Rick Jelliffe <ricko@allette.com.au>
- Date: Sat, 4 Dec 1999 02:02:52 -0500 (EST)
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@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@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@ic.ac.uk the following message;
unsubscribe 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)
|