Subject: Re: [xsl] Diagramming XSLT From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 17 Apr 2008 10:44:38 -0400 |
1. XML/XSL is organized like a "matrushka" (everything nests; showing an image of a matrushka might be visualization enough!). You can organize both content and processing this way. Processing the xslt means to (virtually) nest the templates (called ex- or implicitely). Thus you only need to show two levels, the rest is up to imagination.
2. Look at the XML/XSLT file like a SAX parser would do: reading a start tag means to open another (matrushkanian) level (XML) or to apply another template (XSL). Reading a closing tag means to get back to the last level.
3. Look at the XML/XSLT file like a DOM parser would do: Traverse the tree applying two rules: a) go left as far as you can; b) if a) is not possible go back until you find a sibling, go right and apply rule a) again. That sometimes things are stored in variables or params and taken with them on the way shouldn't increase the difficulties to understand the paradigm to much.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Diagramming XSLT, Torsten Schassan | Thread | [xsl] Ant xslt Approach Question, Z W |
Re: [xsl] Passing parameters to an , Wendell Piez | Date | [xsl] SXLM0001 error occurred, Peter Kester |
Month |