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

Re: stylesheet organisation

Subject: Re: stylesheet organisation
From: Jesper Tverskov <jesper@xxxxxxxxxxx>
Date: Sat, 3 Sep 2011 15:31:37 +0200
Re:  stylesheet organisation
I'm sorry that I dropped "as far as I know" from my posting right
before I hit the Send button, but I some times take chances in order
to stir up things that makes it possible for all of us to learn
something.

I still feel that the spec pretty much says what I'm saying,
http://www.w3.org/TR/xslt20/#import, and that most of the differences
are due to the simple fact the xsl.import must be the first child. Why
is it important that it is the first child (there could be other
reasons)? I am wondering if that is also how xsl:include and
xsl:import are some times implemented in XSLT processors? I'm
wondering if some of the finer details, some of you mention, are
actually questions of implementation?

My rule of thumb analysis has worked well for me in all trivial use
cases, and if things are not trivial or if I have doubts I always test
things. As a generalization, easy to remember, I have until now not
been able to get anything closer than what I have already said.

But maybe some of us can come up with some solid test cases that work
across implementations to see if it is possible to make an even better
rule of thumb analysis, still easy to remember as a first shot that
works in most cases except in situations where we need testing anyway.

Thanks for the provided insights.

Cheers
Jesper Tverskov
http://www.xmlplease.com

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.