[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Default XSL with XML

At 2002-03-07 14:33 -0500, Sevigny Benoît wrote:
>For my needs,
>I want a stylesheet that will simply present me the content of my
>document. I don't want to see my tags. If I could have a stylesheet that
>will do that it will help me a lot.  If that stylesheet could make a
>return line after each tags it will be a bonus for me.

We have a free resource in our resource library that is an XSLT stylesheet 
to expose the XPath data model of an instance(follow the "Resource library" 
link at the top of our home page noted below, the third entry in the list, 
and the stylesheet is the third resource in the list).

You may find what you need by modifying that stylesheet.

I hope this helps.

........................ Ken

X:\samp>type partlist.xml
<?xml version="1.0"?>
<part-list bin="78"><part nbr="A123">bolt</part>
<part nbr="B456">washer</part><warn type="refill"/>
<!--end of parts--><?cursor   blink  under?>

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): {

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@C...
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/x/
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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.