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

Re: xalan 1.1 document() fails on url?

Subject: Re: xalan 1.1 document() fails on url?
From: Ragnar Schierholz <raschi@xxxxxxxxxx>
Date: Mon, 10 Jul 2000 22:20:47 -0500
ragnar schierholz
Bruce G. Robertson wrote:

> 
> This: 
> <xsl:apply-templates select="document('http://www.heml.org')"/>
> 

The problem probably is that the URI does not point to a document. It just 
gives a protocol (http) and a hostname (www.heml.org), but it does not at 
all specify which document on that hostname it supposed to point to.
Usually a web server on a host would deliver by default an index.htm(l) 
from the root of the published directory tree, but this is not necessarily 
an XML document (in this particular case it is definitely not).

Maybe you should try something like 
'http://www.heml.org/samples/document.xml' ...

HTH,
        Ragnar


 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.