Re: [xsl] passing in a variable to the DOCUMENT()

Subject: Re: [xsl] passing in a variable to the DOCUMENT()
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 11 Jan 2002 16:56:21 +0000
Hi Todd,

> if I do a <xsl:value-of select="$xmlfile"> immediately prior to the
> document call, I see the correct string printed on the screen. There
> is no error being thrown, rather the transformation simply stops. I
> wasnt sure if the $xmlfile was being translated to it's value within
> a DOCUMENT() call?

It should be... I don't know if leading or trailing whitespace might
make a difference? Try stripping whitespace from $xmlfile with
normalize-space(). Hard to think of what might be going wrong. Feel
free to send me sample source/stylesheet files to look over if you
can't work it out.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread