On 24 Aug 2005, at 06:39, [EMAIL PROTECTED] wrote:

I am trying to include a fragment of an XML document using the XSL
document() function. I need to be able to use a querystring in the URI in
order to select the appropriate style via the StyleChooser module.

I have the following code:

<xsl:copy-of select="document('testpage.xml?style=html')"/>
<xsl:copy-of select="document('testpage.xml?style=meta')"/>

However both requests ignore the querystring and the default style is
applied to each.

Unfortunately the only way to get querystring params applied is to do a full request, i.e. using the http: scheme. The default implementation with no scheme is sort of like file:, but within the web filesystem hierarchy.

Matt.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to