[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: Mon, 22 Oct 2001 10:56:40 -0500
psr viewer
Jeni,

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.  I changed my approach by integrating a .xsql file that
queries a workbook access table.  It works now!

Thanks for your help.

Rose

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


Hi Rose,

> Is there any way to use the document command using a URL instead of
> a directory path?

The document() function always takes a URL, it's just that sometimes
URLs look like directory paths. So doing:

 
document('http://hbcora59/psr/Viewer?_but=Connect&db=dwbspt11&nlsl=en-us&in=
dwb&_in=dwb&lc=false&us=rpekarek&fm=xml&ac=rpekarek')

will work just fine.

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.