Zvon XSLTracer
Targets
- The following set of examples should explain the
processing of an XML document by an XSLT stylesheet.
Start here
(your browser must support frames and JavaScript, enable it, please).
Tested in Mozilla (Netscape 6), IE 5.x and Opera 7.5.2.
Updates (14.1.2002)
Stylesheets changed to work with Saxon 6.5.
Added features (24.11.2000)
- Now enables the view of processing of multiple XML sources
(the use of document() function)
- The output file (must be well-formed XML!) can be displayed too
- the resulting tree fragment corresponding to the XSLT
instruction is dynamically highlighted
in the output document
Features
- Traces the evaluated XSLT instructions there and back.
- Simultaneously shows the XML node being currently processed.
- During tracing it also displays:
- name of the currently processed XML element or attribute
- full XPath of the currently processed XML element or attribute
- values of parameters and variables
- all nodes of node-set which is matched by select expression in
xsl:apply-templates or xsl:for-each
- value returned by xsl:value-of
Acknowledgment
I would like to thank Jiri Znamenacek
(pirat@anime.cz)
for his help with JavaScript code.
This material has been developed for Zvon, where you can find other not only XML related materials (both basic and advanced tutorials and references about XSLT, XML, DTD, Mozilla, CSS, schemas, regular expressions, ...)
This material can be downloaded for off-line use.
Related sites:
-
dotNet Slackers - Your latest resource for ASP.NET
-
Dotnet Spider - Outsourcing and Offshore software development in India
-
XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
-
Planet Source Code - The largest public source code database on the Internet
|
|
|
Subscribe to
ZVON mailing list
to get on-line help.
Generated with: |
Saxon |
Perl |
Copyright (c) 2000
Systinet
Permission is granted to copy, distribute and/or modify this document under the terms
of the GNU Free Documentation License, Version 1.1 or any later version published
by the Free Software Foundation; with no Invariant Sections with the no
Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is
included in the section entitled
"GNU Free Documentation License"
The programs used to prepare this reference are covered by
GNU General Public License"