Re: xsltProcessor: Replacement for xslt_set_base()?
- From: "Tony Marston" <tony@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 20:30:01 +0100
There is no equivalent in PHP5. The URI of each include file may be relative
or absolute. It is it relative it is assumed to be relative to the base
document (the stylesheet). Refer to http://www.w3.org/TR/xslt#include
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
<man.stick@xxxxxxxxx> wrote in message
news:1151503208.677035.315000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
So I'm using the xsltProcessor class in PHP5, and I'm looking for a way
to set the base directory for included XSLT files. This used to be
xslt_set_base() but clearly that's not an option any more.
I've tried using xsltProcessor::setParameter() but while it works (ie.
the param is available in the XSLT) I don't know how to use this in the
<xsl:include...> tag.
Any suggestions gratefully received.
Stickman
.
- Follow-Ups:
- Re: xsltProcessor: Replacement for xslt_set_base()?
- From: man . stick
- Re: xsltProcessor: Replacement for xslt_set_base()?
- References:
- xsltProcessor: Replacement for xslt_set_base()?
- From: man . stick
- xsltProcessor: Replacement for xslt_set_base()?
- Prev by Date: Re: What is CRUD?
- Next by Date: Re: Complete newbie - where to start
- Previous by thread: xsltProcessor: Replacement for xslt_set_base()?
- Next by thread: Re: xsltProcessor: Replacement for xslt_set_base()?
- Index(es):