[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xalan 1.1 document() fails on url?
At 21:55 10-07-2000 -0400, Bruce Robertson wrote:
This: <xsl:apply-templates select="document('http://www.heml.org')"/> Is the file at that URL in fact a well-formed XML document? If not, I'd expect the XSLT processor to choke and die on it. Besides the well-formedness of the resource you think you're getting, there are also issues with URL precision. For example, the O'Reilly URL in my signature actually returns a 301 Moved Permanently message with no body. If that resource were in XML and I wanted to refer to it from some tools (such as a Web validation service), I'd need to use <URL:http://www.oreilly.com/people/staff/crism/> instead. I don't know if Xalan will follow a 3xx response to the referenced resource. -Chris -- Christopher R. Maden, Senior XML Analyst, Lexica LLC 222 Kearny St., Ste. 202, San Francisco, CA 94108-4510 +1.415.901.3631 tel./+1.401.477.3619 fax <URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|