xsl-list
[Top] [All Lists]

Re: [xsl] document() function refuses http adresses

2006-11-08 06:47:40

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>