[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: accessing info outside current context

Subject: RE: accessing info outside current context
From: "Pekarek, Rose (MN10)" <rose.pekarek@xxxxxxxxxxxxx>
Date: Wed, 24 Oct 2001 14:38:33 -0500
psr viewer
Jeni,

I tried escaping the ampersands as you suggested, and got further, but the
test never evaluates to true.  I even hard coded everything in the url and
it still didn't help.  My guess is Discoverer is not giving me the xml I
think it is, even though I can navigate to that url and view it.  I've
decided to stick with the xsql solution, but thanks for all your help!

Rose

-----Original Message-----
From: Jeni Tennison [mailto:jeni@xxxxxxxxxxxxxxxx]
Sent: Monday, October 22, 2001 11:19 AM
To: Pekarek, Rose (MN10)
Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  accessing info outside current context


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&amp;db=dwbspt11&am
p;nlsl=en-us&amp;in=dwb&amp;_in=dwb&amp;lc=false&amp;us=rpekarek&amp;fm=xml&
amp;ac=rpekarek')" />

Cheers,

Jeni

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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.