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

problem using document() in servlet

Subject: problem using document() in servlet
From: "Terry Shikano" <shikano@xxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 12:18:35 -0500
load document from servlet
Hi.  I'm trying to use the document() function in servlet (Apache Tomcat
with xalan 2.2) to process two files: one base file and the other custom
file.   The xsl stylesheet first processes the base file and then loads,
well is supposed to load, the custom file specific to the user.  If I try
document('userA.xml'), it gives me a MalformedURIException: No scheme found
in URI exception.  Is there a way to load a second xml document with
servlet?  Thanks.

I'm using <xsl:apply-templates select="document('userA.xml')"/>

-----------------------------------------------------------------
Terry Shikano, Ph.D.
ClickFox LLC
shikano@xxxxxxxxxxxx


 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.