This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: generic xslt
- From: "G. Ken Holman" <gkholman at CraneSoftwrights dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 01 Mar 2002 12:43:20 -0500
- Subject: Re: [xsl] generic xslt
- References: <E16gpuY-0006Np-00@oceanus.uk.clara.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
At 2002-03-01 17:56 +0100, Bryan Rasmussen wrote:
>one I seem to have lost track of
>is one I think that was originally written by G. Ken Holman where the output
>reports on such things as depth etc. of the document's data structure. If
>Mr. Holman or anyone else who knows the stylesheet I'm talking about would
>like to give a link to it I would be grateful, as I have read somewhere that
>it's not good to recreate functionality found elsewhere :)
I suspect you are thinking of SHOWTREE (follow the "Resource library" link
at the top of our home page noted below; it is the third entry in the library).
I hope this helps.
............. Ken
X:\samp>type partlist.xml
<?xml version="1.0"?>
<!--start-->
<part-list bin="78"><part nbr="A123">bolt</part>
<part nbr="B456">washer</part><warn type="refill"/>
<!--end of parts--><?cursor blink under?>
</part-list>
X:\samp>saxon partlist.xml z:\data\kendata\dev\showtree\showtree.xsl
SHOWTREE Stylesheet
Processor: SAXON 6.5 from Michael Kay
1 Comment: {start}
2 Element 'part-list':
2.A Attribute 'bin': {78}
2.1 Element 'part' (part-list):
2.1.A Attribute 'nbr': {A123}
2.1.1 Text (part-list,part): {bolt}
2.2 Text (part-list): {
}
2.3 Element 'part' (part-list):
2.3.A Attribute 'nbr': {B456}
2.3.1 Text (part-list,part): {washer}
2.4 Element 'warn' (part-list):
2.4.A Attribute 'type': {refill}
2.5 Text (part-list): {
}
2.6 Comment (part-list): {end of parts}
2.7 Proc. Inst. 'cursor' (part-list): {blink under}
2.8 Text (part-list): {
}
X:\samp>
--
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
- : 3-days XML Information Modeling: July 31-August 2, 2002
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT & XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1 Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training: 2002-03-01,04,05,06,11,15,04-08,09,10,11,
- 05-06,07,09,10,20,06-04,07,10,11,13,14,17,20,07-31
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list