473,397 Members | 2,033 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,397 software developers and data experts.

convert xml to html with xsltproc

Hello,

I need to convert a file.xml to file.html, my so is NetBSD 3.1 and i
using this command line:

$ xsltproc -o file.html /mystylesheet/docbood.xsl file.xml

and i got this error msg:

/usr/pkg/lib/libxslt.so.1: Undefined PLT symbol
"xmlXPathContextSetCache" (symnum = 336)

my file.xml, below:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//PT"
"/usr/pkg/share/xml/docbook/4.4/docbookx.dtd">
<book>
<title>An Example Book</title>
<titleabbrev>Example</titleabbrev>
<bookinfo>
<legalnotice><para>No notice is required.</para></legalnotice>
<author><firstname>Norman</firstname><surname>Walsh</surname></
author>
</bookinfo>
<dedication>
<para>
This book is dedicated to you.
</para>
</dedication>
<preface><title>Foreword</title>
<para>
Some content is always required.
</para>
</preface>
<chapter><title>Required Chapter</title>
<para>
At least one chapter, reference, part, or article is required in a
book.
</para>
</chapter>
<appendix><title>Optional Appendix</title>
<para>
Appendixes are optional.
</para>
</appendix>
</book>

I'm so confuse and don't know what i can do.

Thanks,
Meskita

May 15 '07 #1
0 2320

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

Similar topics

3
by: Derek Fountain | last post by:
Just asked a question regarding this little bit of XSL: --- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html"/> ...
0
by: yzzzzz | last post by:
Hi, I'm outputting XML to XHTML using xsltproc. There happens to be a few empty tags in the output (such as <div></div>) but xsltproc outputs them as <div/>. This causes compatibility problems...
1
by: Brett | last post by:
I am producing some formatted text using xslt, and therefore have a lot of carriage returns. Instead of placing a: <text> </text> everywhere I decided to form an entity like so: <!DOCTYPE...
1
by: Loudin | last post by:
Hello, I`ve got Problems with Xpath and xsltproc/libxslt. I have got a variable with tags in my Style sheet and later in the same Style sheet i want to work with this tags using a...
1
by: Will Parsons | last post by:
I am trying to get started with using Docbook/xml using free tools and am stymied in generating printable documentation from even the simplest source. I have attempted to generate a PDF using...
2
by: Ramon | last post by:
Hello, How to pass parameter with acute accent to xsltproc ? example : (été (french) = summer) $ xsltproc --stringparam ch été fichier.xsl fichier.xml It is written in the xsltproc man...
2
by: Adam dR. | last post by:
I have an xml file similar to: <menu> <menuitem name="home" show="false"/> <menuitem name="about" show="true"/> <menuitem name="links" show="true"/> <menuitem name="games" show="true"/>...
1
by: Arndt Jonasson | last post by:
I have this xslt transform ex.xsl and an instance document ex.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> ...
12
by: Chris | last post by:
Hi, Just wondering if anyone out there knows if it is possible to convert a CSV to xml using XSLT? I've seen a lot of examples of xml to CSV, but is it possible to go back the other way? I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.