This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: accessing info outside current context
- To: "Pekarek, Rose (MN10)" <rose dot pekarek at honeywell dot com>
- Subject: Re: [xsl] accessing info outside current context
- From: Jeni Tennison <jeni at jenitennison dot com>
- Date: Mon, 22 Oct 2001 17:18:35 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <823853D30360D511AB7300902762679F88522B@mn10-hbex01.resd.honeywell.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Rose,
> The document function chokes on the url below because it is
> expecting the url to point to a file (I think). The first part of
> the url, http://hbcora59/psr/Viewer is a call to the discoverer
> server, and the result is an xml document, but somehow this isn't
> good enough for the document command.
It might have been my fault for forgetting to point out that you'd
need to escape the ampersands when you used the call in an XSLT
stylesheet (the error would be very low-level if you didn't do that).
In the stylesheet, it should look like:
<xsl:variable name="workbooks"
select="document('http://hbcora59/psr/Viewer?_but=Connect&db=dwbspt11&nlsl=en-us&in=dwb&_in=dwb&lc=false&us=rpekarek&fm=xml&ac=rpekarek')" />
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list