docs.sun: changes to XML output

Jon Bosak (bosak@atlantic-83.Eng.Sun.COM)
Fri, 21 Mar 1997 17:49:32 -0800


We've been making changes to the TOC output from docs.sun.com. A bug
in container closing has been fixed (thanks, Norbert), and we've
adopted a convention for properly structuring TOC output so that the
TOC always forms a single tree. Thus, for example,

http://docs.sun.com/ab2/alluser/ADVOSUG/@xmlToc will give you

<book>
<chapter>...</chapter>
<chapter>...</chapter>
<chapter>...</chapter>
</book>

http://docs.sun.com/ab2/alluser/@xmlToc will give you

<set>
<book>
<chapter>...</chapter>
<chapter>...</chapter>
<chapter>...</chapter>
</book>
</set>

and http://docs.sun.com/ab2/@xmlToc will give you

<set>
<set><title>...</title>
<book>
<chapter>...</chapter>
<chapter>...</chapter>
<chapter>...</chapter>
</book>
</set>
<set><title>...</title>
<book>
<chapter>...</chapter>
<chapter>...</chapter>
<chapter>...</chapter>
</book>
</set>
<set><title>...</title>
<book>
<chapter>...</chapter>
<chapter>...</chapter>
<chapter>...</chapter>
</book>
</set>
</set>

That's the idea, anyway.

By the way, if you start wondering what Sun thinks this server is for,
try http://docs.sun.com all by itself.

Jon

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)