Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xsl:param reading a passed parameter in a browser

From: "Neil Smith [MVP Digital Media]" <neil@------.--->
To: NULL
Date: 2/7/2007 11:00:00 PM

On Tue, 06 Feb 2007 21:21:18 +0000, Peter Flynn
<peter.nosp@m...> wrote:


>> Peter:
>>> Do it server side. Browsers simply don't provide this level of XML
>>> support yet (after 10 years they *still* don't grok it...<sigh/>)
>> 
>> I don't have any experience with that. What are the requirements for
>> that. I can't change any thing at the server. PHP 4.4.4 is installed.
>
>XML servers like Cocoon can pass the query portion of the URI as 
>parameters to the processor. I don't use PHP very much, but there is 
>probably a method for doing that in their XML libraries.

On PHP4, he'd setup xslt_process() which uses Sablotron XSLT
processor, then provide an Array for the 6th function argument :
http://uk.php.net/manual/en/function.xslt-process.php


On PHP5 it's more sane and uses XSLTProcessor::setParameter, see
http://uk.php.net/manual/en/function.xsl-xsltprocessor-set-parameter.php


Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent