xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Firestar" <the...@magix.com.sg>
Subject Re: Problem using document() in Xalan-J 1.2
Date Wed, 08 Nov 2000 14:31:34 GMT
hi, thanks for your reply. i haven't used CVS before (in fact, our
development is all
based on M$ SourceSafe:). So is there any guide or steps on what i should
do? must
i have an 'account' to access the source code? thx once again...

regards,
Firestar

----- Original Message -----
From: <Myriam_Midy@lotus.com>
To: <general@xml.apache.org>
Sent: Wednesday, November 08, 2000 9:57 PM
Subject: Re: Problem using document() in Xalan-J 1.2


>
> We had a problem with xsl:variable /xsl:param in 1.2. I checked in a fix
to
> CVS that I think solves this problem. If you can give that a try, please
> let us know whether you still see the problem or not. If all goes well,
> this fix will be in the next released version of Xalan.
> Thanks,
> Myriam
>
>
>
>
> "Firestar" <theebh@magix.com.sg> on 11/08/2000 01:02:05 AM
>
> Please respond to general@xml.apache.org
>
> To:   <general@xml.apache.org>
> cc:    (bcc: Myriam Midy/CAM/Lotus)
> Subject:  Problem using document() in Xalan-J 1.2
>
> Hi, in my xsl stylesheets i use a lot of 'document()' functions to load in
> external xml documents for transformation. i did not hardcode the path and
> filename of the xml files; instead i put them in variables like this
> (globally):
>
> <xsl:param name="content" select="default-value" />
> <xsl:variable name="content" select="document($content)" />
>
> This used to work fine previously in Xalan-J version 1.1. But with version
> 1.2, the document() function complained of 'out of context or no
> definition' error; instead it will only work if i put the full pathname of
> the xml file in the document function, like this:
> select="document('d:\xml\something.xml')". It seems that document() no
> longer do variable interpolation?
>
> Has anyone encountered the same problem? TIA.
>
> regards,
> Firestar
>
>
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message