[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|