This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: passing in a variable to the DOCUMENT()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]