docs.sun: changes to XML output

Jon Bosak bosak at atlantic-83.Eng.Sun.COM
Sat Mar 22 01:50:56 GMT 1997


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 at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)




More information about the Xml-dev mailing list