LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-01-2003, 12:27 AM   #1
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
docbook xml help


Hello.

I am trying to use xmlto to create an xhtml document from my docbook xml sources. I've tried jade, I've tried openjade, I've tried four different versions of the docbook dtd and nothing is working.

I finally got to the point where a single page xml document got changed to xhtml properly, but I had to point it specifically to the dtd and stylesheet on my hard drive. When I tried using global dtd's I got some nonsense about not being able to load the dtd....

So when I try formatting a multipage xml document using xmlto it craps out with:
"cp: cannot stat `*.htm*': No such file or directory"

It is not my source, as all my stuff is well-formed. These are my errors. When I use:
Code:
xmlto xhtml dlg.xml
I get:
Code:
Convert to XHTML (with chunks)
Attempt to load network entity http://docbook.sourceforge.net/relea...ml/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"
compilation error: file /usr/share/xml/docbook/xsl/xhtml/chunk.xsl line 6 element import
xsl:import : unable to load http://docbook.sourceforge.net/relea...ml/docbook.xsl
Attempt to load network entity http://docbook.sourceforge.net/relea...unk-common.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk-common.xsl"
compilation error: file /usr/share/xml/docbook/xsl/xhtml/chunk.xsl line 7 element import
xsl:import : unable to load http://docbook.sourceforge.net/relea...unk-common.xsl
runtime error: file /usr/share/xml/docbook/xsl/xhtml/chunk.xsl line 187 element choose
unregistered variable rootid
xmlXPathCompiledEval: evaluation failed
cp: cannot stat `*.*htm*': No such file or directory
When I use:
Code:
xmlto xhtml -x /usr/share/xml/docbook/xsl/xhtml/docbook.xsl dlg.xml
it chugs along like it's doing the conversion, but then gives me the:
Code:
cp: cannot stat `*.*htm*': No such file or directory
Are there any docbook gurus out there? This is killing me because now I'm spending all my time trouble shooting this piece of sh*t rather than writing. If you need any more info just let me know. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
Docbook XSL Stylesheets /etc/xml/catalog Ironica Linux - Software 0 12-10-2004 03:03 AM
Need help installing docbook-xsl [docbook xsl stylesheet kmguy Linux - Software 0 09-10-2004 12:14 AM
Need DocBook help IgD Linux - Software 1 09-23-2003 08:53 PM
docbook tables specialmunky General 0 11-20-2002 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration