Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2009, 06:24 PM
Member
 
Join Date: Jul 2009
Posts: 1
Rep Power: 0
ketvaid1 is on a distinguished road
Default Convert xml to html using ant build
Hi,

i am trying to obtain html fil from xml files using ant build in eclipse.
I am using docbook xml 1.74.0..
When i try and build build.xml file it gives me error in xsl file present in docbook..
The error is as follows,

[xslt] : Error! Syntax error in '* or $generate.index != 0'.
[xslt] : Error! file:/C:/Eclipse/eclipse-rcp-ganymede-SR1-win32/eclipse/New%20Folder/newfoldertrial/docbook-xsl-1.74.0/html/autotoc.xsl: line 373: Error parsing XPath expression '* or $generate.index != 0'.
[xslt] : Error! file:/C:/Eclipse/eclipse-rcp-ganymede-SR1-win32/eclipse/New%20Folder/newfoldertrial/docbook-xsl-1.74.0/html/autotoc.xsl: line 373: Required attribute 'test' is missing.

Can anyone resolve this?
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 01-19-2010, 04:25 AM
Member
 
Join Date: Aug 2009
Location: Heidelberg
Posts: 47
Rep Power: 0
vogella is on a distinguished road
Default
Hi,

most likely the standard Java XSLT parser gives you the problem. Switch to xalan.

I describe this here in my Docbook tutorial: Docbook with Eclipse.

Cheers, Lars
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ant build sardare New To Java 4 04-02-2009 11:02 PM
How can I include a html file in html textarea? surya_dks New To Java 2 10-04-2008 08:20 AM
convert html page to pdf MarkWilson Advanced Java 2 09-03-2008 12:14 AM
convert html to text using java praveen@asia-mail.com New To Java 1 11-14-2007 03:08 PM
convert html to plain text vissu007 New To Java 3 07-07-2007 03:39 PM


All times are GMT +2. The time now is 05:06 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org