xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] document() function refuses http adresses
From: Nic James Ferrier <nferrier@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 08 Nov 2006 13:54:50 +0000

"Robert Melskens" <tridero@xxxxxxxxxxx> writes:

> XSLT processor: Saxon8b
> XSLT version: 1.0
>
> Hello,
>
> According to the WROX XSLT Programmers Reference of Michael Kay (2000 
> version) you should be able to use http addresses as a parameter of the 
> document() function (see page 442, where mr. Kay uses the example 
> "http://www.wrox.com/booklist").
>
> However in one of my stylesheet I try to use the following command:
>
> <xsl:value-of 
> select="document('http://xml.ascc.net/schematron/schematron1-5.sch')"/>
>
> unfortunately it results in a UnknownHostException. It looks as if it 
> doesn't know 'xml.ascc.net.
> I am able to use the http address in IE. I also tried it with other http 
> addresses but the result stays the same.
>
> I also tried this in XML-Spy (native XSLT processor) but also this wasn't 
> succesful.

If I follow that url it seems to redirect... maybe saxon's http
handler isn't following the redirect?

Try changing the uri to something authoritative for that resource.


-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   for all your tapsell ferrier needs


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor