convert xml to html with xsltproc

Discussion in 'XML' started by danieldvv@yahoo.com.br, May 15, 2007.

  1. Guest

    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, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. yzzzzz
    Replies:
    0
    Views:
    711
    yzzzzz
    Nov 12, 2003
  2. Brett

    xsltproc and Entities

    Brett, Feb 27, 2004, in forum: XML
    Replies:
    1
    Views:
    905
    Alain Ketterlin
    Mar 1, 2004
  3. Loudin
    Replies:
    1
    Views:
    760
    David Carlisle
    Jul 1, 2005
  4. Ramon
    Replies:
    2
    Views:
    1,751
    Ramon
    Aug 19, 2006
  5. loc
    Replies:
    8
    Views:
    6,315
    Hermann Peifer
    Feb 22, 2010
Loading...

Share This Page