[xsl] Convert xml to html with xsltproc

Subject: [xsl] Convert xml to html with xsltproc
From: daniel veiga <danieldvv@xxxxxxxxxxxx>
Date: Wed, 16 May 2007 09:31:32 -0300 (ART)
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 

__________________________________________________
Fale com seus amigos  de graga com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 

Current Thread