spacer
XML Gov Logoflag
spacer

XML.Gov Demos: Home

by Ken Sall Consulting

Demo Explanation
XHTML Illustrates the conversion of the current XML.Gov home page to valid XHTML 1.0 and valid CSS 2.0.
XSLT Illustrates both server-side and client-side transformations of XML to HTML using XSLT stylesheets. (Example: Meeting participants sorting)
XHTML processed by XSLT Illustrates how a page converted to XHTML on the server can be directly transformed using XSLT (server side) without any manual XML stage. (Example: Efforts sorting)
Client Sorting: MS Illustrates use of Microsoft-specific XML DOM and XSLT features to enable client-side sorting of a table of data merely by clicking on the column heading. (Example: XML WG participants data)
Client Sorting: Cross Browser JavaScript Illustrates use of JavaScript to enable client-side sorting of a table of data merely by clicking on the column heading. Code contributed by Manos Batsis under GPL. (Example: Greek filenames)
Client Sorting: Cross Browser Custom DOM API Illustrates use a custom DOM API to do in-place sorting. Implemented in JavaScript, the API is based on the DOM standard to achieve cross-browser functionality in modern browsers (e.g., IE6 and Mozilla/Netscape) (Example: XML WG participants data) Code contributed by Manos Batsis under GPL.
Sorting of Brainstorming Ideas This complete example starts with an HTML table as input, converts to XHTML, devises a simple XML vocabulary (with DTD) to better describe the tabular data, converts the XHTML to custom XML using XSLT, and then uses several XSLT stylesheets to sort the XML data in several ways, displaying the results as HTML.
SVG Illustrates use of lightweight SVG for Flash-like animation and interactivity in an XML-based textual markup language.
XSLT Demos PowerPoint Presentation, XML Working Group Demo - Sept. 18, 2002
Per Diem Rates [May 4, 2003]    This demo shows how DoD Per Diem rate tables can be easily converted to XML, how a simple XML Schema can be created to validate per diem data, how the XML can be displayed in browsers using XSLT stylesheets, and how slight variations in stylesheets can produce differently sorted tables. (Future work may show how per diem data can be treated as a Web service.) It also illustrates both server-side and client-side transformation of XML data.
Flexible XML-Based Thesaurus Approach for the Federal Government NEW [Jan. to April 2005]    This section illustrates an approach for creating XML-based thesauri/glossaries in the Federal Government. Some of the design goals and advantages of the approach are:
  • Standards-Based - XML element names are based on international standards such as ISO 2788, ISO 704, and ISO 1087.
  • Flexible - The Glossary Schema, although initially a strawman to stimulate discussion, is fairly flexible with few required elements, many optional elements, and several repeatable elements.
  • Provides a Framework - Since so few elements are required, terms can be added even before definitions are known. These terms act as placeholders that are fully supported by the XSD and XSLT.
  • Specialized - Each term may have multiple definitions so that different agencies may use the same term with their own specialized meaning, where necessary.
  • Collaborative - Since an XSLT stylesheet is used to sort the terms alphabetically, many individuals can work on their own glossary fragments (XML instances of the Glossary XSD). At any time, the various contributions can be easily merged without manual editing.
  • Leverages Links - Search links are automatically generated for each term by means of the XSLT both to help kick-start and to augment the definition.
  • Provides a Stepping Stone to the Semantic Web - The XSD is a XML subset of SKOS, which is an RDF vocabulary that complements OWL.
Valid XHTML 1.0! Valid CSS!

Last Updated: April 29, 2005    

Copyright © 2002-2005 Kenneth B. Sall. All Rights Reserved.