Schemas, xsd, xdr
Schemas, xsd, xdr Contents
Summary This example stylesheet analyzes and summarizes any given XML document.
This stylesheet can be used to take any given XML document and produce a summarized version of it. It is not designed as a pre-cursor for creating a schema or DTD from a document - as it does not deal with the complexities of that process (i.e. it does not concern itself with element orders and choices; it does not analyze element or attribute values). The stylesheet merely serves to take a complex XML document and produce a crude summary of the structure - removing repeated structures and aggregrating similar structures.
The stylesheet uses a two pass system - the first pass building a pre-analyzed RTF (Result Tree Fragment) and the second pass summarizing that RTF. As there is no way in XSLT1.0 to convert RTFs to node-sets the stylesheet uses extension namespaces and three versions are supplied (Microsoft, Xalan and Saxon).
Please see the download zip file for the stylesheets.
CheersMarrowhttp://www.MarrowSoft.com - home of Xselerator (XSLT IDE and debugger)http://www.TopXML.com/Xselerator
Partners
Dream.In.Code dotNet Slackers dotNet Spider Your HTML Source VisualBuilder.com DevGuru Planet Source Code ZVON.ORG Web Design ASPAlliance XML Pitstop Scripts
The Spot 4 SAP Bitshop Web Hosting