RE: xml-stylesheet and vars
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format