You are here: Re: xsltProcessor: Replacement for xslt_set_base()? « PHP Programming Language « IT news, forums, messages
Re: xsltProcessor: Replacement for xslt_set_base()?

Posted by Tony Marston on 11/03/01 11:51

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@gmail.com> wrote in message
news:1151503208.677035.315000@75g2000cwc.googlegroups.com...
> 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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация