You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Edwards, Jayme" <JC...@software.rockwell.com> on 2000/08/02 01:45:41 UTC

RE: URGENT: Bug/special case in document() function when Xalan is use d in Cocoon

Sorry, typo. My real source uses this, I was trying to simplify to show the case.

Jayme

> -----Original Message-----
> From: Paul_Dick@lotus.com [mailto:Paul_Dick@lotus.com]
> Sent: Tuesday, August 01, 2000 9:00 AM
> To: xalan-dev@xml.apache.org
> Subject: Re: URGENT: Bug/special case in document() function 
> when Xalan
> is use d in Cocoon
> 
> 
> 
> Hi Jayme,
> 
> Sorry for the delay in answering your question.  Several of 
> us have been
> looking into since yesterday.
> One quick question for you.  In your xslt example;
> <?xml version="1.0"?>
> 
> <xsl:stylesheet 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version
> ="1.0">
>     <xsl:variable name="resources" select="document
> ("resources/myresources.xml", /myrootelement)/myresources"/>
> </xsl:stylesheet>
> 
> be sure not to use nested double quotes within your select 
> attribute of the
> <xsl:variable>.  Put single
> quotes around 'resources/myresources.xml'.
> 
> Paul
>