[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Clark C. Evans" <clark.evans@m...>
  • To: Rick Jelliffe <ricko@a...>
  • 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@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...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member