[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: document() function refuses http adresses
Syntactically your code looks OK. Whether or not a given system can access external http URI depends an awful lot on local firewall and security issues. The URI you referenced is served as text/plain rather than with an XML mime type, which could cause an xsl system to reject it as not being xml, but most ignore the mime type and treat it as xml if it looks like xml (which is also conformant behaviour). However UnknownHostException sounds more like firewall not letting you see the outside at all than with any mime type problems. You probably don't want to use value-of on the whole document (as you just get the character data, ignoring any element markup) but I assume that's just for testing the document() function. David
|
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
|