[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PaceElementOrder: options




Norman Walsh wrote:



I think any appeal to "normal use of XML" is a stretch.

I don't.


Hmm. Ok, maybe we should say that's what we have then. Feeds and
entries aren't dictionaries in the strict sense because they would
allow duplicate keys, but I expect to be able to write:

  <atom:entry>
    <atom:title>...</atom:title>
    <dc:subject>Some subject</dc:subject>
    <dc:subject>Another subject</dc:subject>
    <atom:author><atom:name>Norman Walsh</atom:name></atom:author>
    <geo:lat>42.4</geo:lat>
    <geo:long>-72.2</geo:long>
    <dc:subject>Yet one more subject</dc:subject>
    <atom:modified>2004-07-12T08:38:44Z</atom:modified>
    <atom:link rel="alternate"
               href="http://norman.walsh.name/2004/07/12/someEssay"/>
  </atom:entry>

"Yuck", would be my technical assessment :) however... the pace we're talking about (explicitly) doen't deal with order of entry children just feed children (I punted). Going by your rnc, can I assume you expect to write:


<feed>
  <entry>
    ...
  </entry>
  <tagline>FD85 1117 1888 1681 7689 B5DF </tagline>
  <entry>
      ...
  </entry>
  <entry>
      ...
  </entry>
  <entry>
      ...
  </entry>
  <entry>
      ...
  </entry>
  <entry>
      ...
  </entry>
  <title>Bill de hÓra</title>

  <entry>
    ...
  </entry>
  <modified>2004-07-12T18:56:24Z</modified>
  <entry>
    ...
  </entry>

  <generator
       url="http://www.movabletype.org/";
       version="2.64">Movable Type</generator>
  <entry>
    ...
  </entry>
  <copyright>Copyright (c) 2004, dehora</copyright>
  <entry>
    ...
  </entry>
  <entry>
    ...
  </entry>
  <id>tag:www.dehora.net,2004:/journal//2</id>
  <link
    rel="alternate"
    type="text/html"
    href="http://www.dehora.net/journal/"; />
</feed>

?

cheers
Bill