Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   XML (http://www.velocityreviews.com/forums/f32-xml.html)
-   -   Transform XML docbook to HTML with docbook stylesheet (http://www.velocityreviews.com/forums/t168242-transform-xml-docbook-to-html-with-docbook-stylesheet.html)

Antonio Amato 11-16-2004 04:45 PM

Transform XML docbook to HTML with docbook stylesheet
 
Hi,

I want to transform XML docbook to HTML with docbook stylesheet
(docbook-xsl-1.67.0.zip).
I'm using
javax.xml.transform.TransformerFactory
to apply XSLT to XML but it generates an exception:
javax.xml.transform.TransformerException: java.net.ConnectException:
Connection timed out: connect.
Is somebody using docbook-xsl-1.67.0.zip to do this with another
xml.transform?

Thanks



rumionfire@gmail.com 11-16-2004 05:33 PM

Re: Transform XML docbook to HTML with docbook stylesheet
 
Yup I am using docbook-xsl-1.6x.zip to do this with Cocoon.

Here are some samples:
http://www.xml-dev.com/blog/#88 (On the fly generation of HTML from
XML)

Online XML to HTML convertor: http://validate.sf.net
In Peace,
Saqib Ali


Michael Wiedmann 11-18-2004 05:08 PM

Re: Transform XML docbook to HTML with docbook stylesheet
 
Antonio Amato wrote:
....
> javax.xml.transform.TransformerException: java.net.ConnectException:
> Connection timed out: connect.


This looks like your used XSLT processor tries to access the XSL stylesheets
makeing a network connection and you are offline at this time.
The best solution is to resolve to local filesystem using the XML catalog
system - how to do this depends on your XSLT processor.

Michael
--
mw@miwie.in-berlin.de http://www.miwie.org


All times are GMT. The time now is 09:58 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.