Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Transform XML docbook to HTML with docbook stylesheet

Reply
Thread Tools

Transform XML docbook to HTML with docbook stylesheet

 
 
Antonio Amato
Guest
Posts: n/a
 
      11-16-2004
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


 
Reply With Quote
 
 
 
 
rumionfire@gmail.com
Guest
Posts: n/a
 
      11-16-2004
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

 
Reply With Quote
 
 
 
 
Michael Wiedmann
Guest
Posts: n/a
 
      11-18-2004
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
--
http://www.velocityreviews.com/forums/(E-Mail Removed)-berlin.de http://www.miwie.org
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DocBook: Pass DocBook-Path to Stylesheet tthunder@gmx.de XML 1 11-27-2007 12:08 AM
xml:stylesheet use in document with multiple stylesheet options David Blickstein XML 3 08-02-2005 03:10 PM
docbook customization stylesheet Daniel Meilleur XML 1 05-20-2005 05:59 AM
blocking I/O with javax.xml.parsers.DocumentBuilder.parse() and javax.xml.transform.Transformer.transform() jazzdman@gmail.com Java 1 03-27-2005 06:56 AM
have a stylesheet generate another stylesheet based on XML? Steven An XML 1 11-23-2004 01:07 PM



Advertisments