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

document() with http arguments not working in saxon no

Subject: document() with http arguments not working in saxon nor xalan
From: "Roger L. Costello" <costello@xxxxxxxxx>
Date: Tue, 14 May 2002 16:09:01 -0400
arguments for working from home
Hi Folks,

I have found a web site that dynamically generates XML documents.  It is
the O'Reilly Meerkat web site.  Here's an example of how to invoke it:

http://www.oreillynet.com/meerkat/?_fl=xml&s=REST

Read as: "give me all articles about REST.  Send them to me as an XML
document" (_fl means flavor, i.e., flavor=XML)

Typing in this URL into a browser results in getting a nice XML document
containing info about articles on REST.
 
Now, when I try to retrieve that XML document within a stylesheet:

           <xsl:variable name="Meerkat"
select="document('http://www.oreillynet.com/meerkat/?_fl=xml&amp;s=REST')"/>

I get an error with both saxon and xerces.  With saxon I get a popup
window that says:

saxon.exe has generated errors and will be closed by Windows.  You will
need to restart the program.  An error log is being created. 

Note: I couldn't locate any log that saxon might have created.

With xalan I get this message:

(Location of error unknown)XSLT Error (java.lang.StackOverflowError):
null

The XML document that Meerkat returns is quite small, so I am puzzled by
the StackOverflow message.

Am I doing something wrong?  I am using instant saxon 6.5.1, and xalan
2.3.1  /Roger


 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.