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]

RE: accessing info outside current context


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@jenitennison.com]
Sent: Friday, October 19, 2001 3:56 AM
To: Pekarek, Rose (MN10)
Cc: 'xsl-list@lists.mulberrytech.com '
Subject: Re: [xsl] 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


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