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

Re: A new approach

Subject: Re: A new approach
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Nov 2003 12:57:41 GMT
Re:  A new approach

I'll point out again that having the top level element called <rootnode>
will always lead to confusion in Xpath as you will have the root node
(/) having a child called rootnode, but anyway if it's a pre-existing
xml vocabulary and you are stuck with the names XSLT won't get confused,
it's all legal.

It isn't at all clear from your description why you need two xsl files.
Why not put it all in to one?

The usual model is that you put common shared code into a file that you
_include_ (or _import_)  into your top level stylesheet and you have
different top level stylesheets that implement different customisations.

But in your case it doesn't appear that you are trying to generate
different styles, ao you could just have one stylesheet.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
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.