XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> XSLT Tutorials -> OPML and XSLT

OPML and XSLT

Date: Jan. 9, 2001
Link: http://www.netcrucible.com/xslt/opml.html
Source Author or Organization: Joshua Allen

This page offers a tutorial and tools for transforming hierarchical data in Outline Processor Markup Language (OPML) format (http://www.xml.com/pub/r/748), such as web directories or collaborative outlines, into a format viewable by most web browsers.

The tools consist of three downloadable files; opml.xslt, opml.css and opml.js. opml.xslt performs an Extensible Style Language Transformations (XSLT) transform that converts an OPML document into a collection of DIVs and SPANs suitable for use in browsers (DIV and SPAN are HTML tags used to define a layer addressable as a unit by a Web coding language such as Javascript). opml.css is a Cascading Style Sheet (CSS) style sheet that formats the HTML code produced by the transform. opml.js is an optional external Javascript library that can be linked to the HTML pages to enable additional features such as expanding/collapsing nodes and outline editing.

Output is compatible with Explorer 5.0 or later and Netscape 6.0 or later. The OPML and XSLT distribution is open source with no license restrictions.