473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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
Jul 20 '05 #1
2 3645
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

Jul 20 '05 #2
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
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dr. Laurence Leff | last post by:
I am having trouble doing the basics with xmlto on Redhat to convert DocBook XML into the various files. I believe the problem is the first line on the files: Here is starter file (notes.xml):...
2
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability),...
1
by: David | last post by:
I would like to be able to re-sort data in an HTML table on the without returning to the server. It seems like an XSLT should be able to accomplish this, but I can't find enough information... ...
1
by: David Montgomery | last post by:
Hi, Our company provides ASP services to multiple government agencies. These agencies in turn provide our ASP services to the general public through their web portals. As part of our service...
2
by: Matti Järvinen | last post by:
Hi I am trying to find a tool for converting XML Docbook to format that is recognized by microsoft word. I have been trying combinations such as (xsltproc, jfor) and (xalan, jfor), but the...
2
by: Yarco | last post by:
I'm learning for docbook under win32. I download: openjade-1_3_1-2-bin docbook-xml-4.4 docbook-dsssl-1.79 ldp.dsl And then copy all openjade bin\ to win32 system\, and then create a directory...
3
by: Otmar Ganahl | last post by:
Hi! In my application I transform a docbook file to a html view using the webcontrol "Xml" (with a xsl).It works fine, except the using of the tag "fileref" in the docbook-file will cause an...
12
by: Jim Anderson | last post by:
This is my first attempt at XML documentation. I'm trying to get started with docbook so I can put a set of documentation into docbook tags. I'm using 'XML In A Nutshell" and "DocBook The...
1
by: tthunder | last post by:
Hi @all, I have a very simple use case here, but I cannot get any answer. I want to publish/provide a customized XSL Stylesheet for DocBook Users. The stylesheet defines variables for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.