This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xml-stylesheet and vars
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 7 Aug 2002 19:37:00 +0100
- Subject: RE: [xsl] xml-stylesheet and vars
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Nathan Shaw
> Sent: 07 August 2002 15:16
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] 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