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

Using xml:base in an xsl:stylesheet declaration - how about

Subject: Using xml:base in an xsl:stylesheet declaration - how about it?
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 28 Mar 2000 17:55:25 +1200
xsl stylesheet declaration
I have a problem, & I have a solution.
I just want to bat it around here before I apply it across the board.

Currently there is no documented equivalent to the <BASE href=""> tag in
html for XSL stylesheets.

However, the use of xsl:include & xsl:import rely explicitly on there
being a 'Base URI' available to work from.

Now in my case I'm either parsing & caching my xsl long before the
transform, or in some cases generating it from scratch. I still want to
use xsl:include, but my xsl tree has no Base URI. 

So I want to explicitly define it, and I'd like to do that in a way that
falls within the rules.

I see that this issue as it applies to XML in general has already been
considered in the proposal
http://www.w3.org/TR/xmlbase

Great.

So can anyone give me some good reasons (I mean REALLY good reasons) why
I should not start using syntax like

<xsl:stylesheet 
	xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
	xml:base="http://my.host/xsl/mystylesheet.xsl" 
	>

for the purposes of my own development? (or should that be xsl:base?)

And if this strikes a chord, will we be likely to see adoption of this
method in the future?

Awaiting a response (as I'm sure there's something I haven't thought of
that will annoy the spec Nazis out there)

Regards .dan.

-- 
:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  021 115 7339       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 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.