Reminder: XML online
Jon Bosak
Jon.Bosak at Eng.Sun.COM
Tue Jun 17 08:19:35 BST 1997
I announced this about three months ago and am just repeating it for
the benefit of anyone who recently subscribed to the list.
If you are looking for generated XML to test your XML application, you
can find it at our Sun documentation server, docs.sun.com. This site
(not yet widely publicized) exists primarily to serve out HTML
generated on the fly from our SolBook (DocBook) database of Solaris
manuals. To see it operating in normal mode, just point your Web
browser at http://docs.sun.com.
In addition to its normal HTML output, our AnswerBook2 team has rigged
docs.sun.com to generate an unsophisticated but copious alternative
XML data stream if you know how to ask for it.
HOW TO GET XML
The AnswerBook2 (ab2) manuals on docs.sun.com are organized into
several large categories (alluser, sysadmin, etc.) with a number of
books in each catagory. Thus, the Solaris Advanced User's Guide is
referred to in URLs as /ab2/alluser/ADVOSUG. Two forms of XML access
are currently supported: TOCs and document chunks. TOCs are accessed
via the @xmlToc template, and chunks are accessed via the @xmlChunk
template. The @xmlToc template always shows a table of contents down
to the chapter level, no matter what level it is invoked at.
Some examples:
1. To get a chapter-level TOC of the entire contents of the server:
http://docs.sun.com/ab2/@xmlToc
2. To get a chapter-level TOC of the manuals in the alluser category:
http://docs.sun.com/ab2/alluser/@xmlToc
3. To get a chapter-level TOC of the Solaris Advanced User's Guide:
http://docs.sun.com/ab2/alluser/ADVOSUG/@xmlToc
4. To get a particular chapter from the manual (as listed in the TOC):
http://docs.sun.com/ab2/alluser/ADVOSUG/@xmlChunk/1120
Jon
----------------------------------------------------------------------
Jon Bosak, Online Information Technology Architect, Sun Microsystems
----------------------------------------------------------------------
2550 Garcia Ave., MPK17-101, Mountain View, California 94043
Davenport Group::SGML Open::NCITS V1::ISO/IEC JTC1/SC18/WG8::W3C XML
If a man look sharply and attentively, he shall see Fortune; for
though she be blind, yet she is not invisible. -- Francis Bacon
----------------------------------------------------------------------
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