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

RE: xml-stylesheet and vars

Subject: RE: xml-stylesheet and vars
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 7 Aug 2002 19:37:00 +0100
xml stylesheet path
I never use the <?xml-stylesheet?> processing instruction. I don't think
it's appropriate for an XML document to say how it should be processed.
I think it would be much better to control the relationship between
source documents and stylesheets in a different way: exactly how,
depends on your application.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Nathan Shaw
> Sent: 07 August 2002 15:16
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xml-stylesheet and vars
> 
> 
> well, I posted this yesterday, but got no response
> because I think I did not post it well, so I will give
> it another shot.
> 
> Here is my problem.
> 
> We have decided to change the architecture of a site
> we have that is driven by xml/xslt. In doing so, we
> have moved the xslt files from the folder /common/ to /common/xsl/.
> 
> So, we now have close to 100 xml files that need to
> have the xml-stylesheet path changed from
> <?xml-stylesheet type="text/xsl" 
> href="/common/OBPRWebContent.xsl"?> to <?xml-stylesheet 
> type="text/xsl" href="/common/xsl/OBPRWebContent.xsl"?>.
> 
> I don't see any way around having to make this change
> this time, but would like to avoid having to make this
> change again in the future if we move things around.
> 
> I want to do this: <?xml-stylesheet type="text/xsl" 
> href="&xslPath;"?>, but from what I have seen and read, I 
> cannot use an entity in the xml-stylesheet reference.
> 
> Is there any other way to accomplish this? I am using
> Instant Saxon to do the transformations.
> 
> TIA,
> 
> --Nate
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better http://health.yahoo.com
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.