convert xml to html with xsltproc

D

danieldvv

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top