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

Re: UnknownHostException Error

Subject: Re: UnknownHostException Error
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 2 Aug 2011 21:21:08 +0100
Re:  UnknownHostException Error
On 2 August 2011 20:23,  <russurquhart1@xxxxxxxxxxx> wrote:
>
> Hi,
>
> I am trying to use an .xsl to parse an html file, that was converted to
xhtml via xmltidy. The mark4.xhtml file i have starts like the following:
>
>  <?xml version="1.0"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml1">

Do you really want that trailing 1?  The xhtml namespace is
"http://www.w3.org/1999/xhtml"


> <head>
> ...
>
>
> The html2docbook.xsl i am trying to use, starts like the following:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
>                xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>
> <xsl:output method="xml" indent="no"/>
> ...
>
>
> When i try and run this i get the following:
>
> Error
>  java.net.UnknownHostException: www.w3.org
>
>
> I'm sure this has to do with the namespaces i'm using, but i can't seem to
resolve this. If anyone can help or give a pointer, that would be great!

Guessing, but try and hit the url manually, you might have been
banned.  If so, take local copies of the dtd and use a catalog.




--
Andrew Welch
http://andrewjwelch.com

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.