[xsl] UnknownHostException Error

Subject: [xsl] UnknownHostException Error
From: russurquhart1@xxxxxxxxxxx
Date: Tue, 02 Aug 2011 14:23:35 -0500 (CDT)

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";>

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:

  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!



Current Thread