473,624 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
"xmlXPathContex tSetCache" (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>Ex ample</titleabbrev>
<bookinfo>
<legalnotice><p ara>No notice is required.</para></legalnotice>
<author><firstn ame>Norman</firstname><surn ame>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><titl e>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 2336

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

Similar topics

3
3772
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"/> <xsl:template match="/"> <xsl:text>&apos; &lt; &gt; &quot; &amp;</xsl:text>
0
1474
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 with non-xml browsers (i.e. ALL browsers). Is there an option to output empty elements with an explicit end tag, as in <div></div> ? This is strictly equivalent to <div/>, from an XML point of view, except it actually works! Of course, if I can...
1
2524
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 stylesheet > and then place a &cr; everywhere I want a carriage return. It works fine in xmlspy, but when using xsltproc, I get namespace errors, specifically:
1
1984
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 <xsl:for-each>. Here is a example:
1
2677
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 xmlto (which I guess is a shell interface to xsltproc) for the docbook source on a variety of platforms: Debian GNU/Linux stable, Gentoo GNU/Linux, FreeBSD, and Cygwin. In no case have I been successful, and the error messages are certainly not...
2
2287
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 that the string --stringparam must be in utf-8
2
1690
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"/> <menuitem name="learn" show="true"/> <menuitem name="order" show="true"/> <menuitem name="contact" show="true"/> <menuitem name="support" show="false"/>
1
3083
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"> <xsl:output method="text"/> <xsl:template match="//*">
12
11578
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 don't want to have to use some external program or script to parse the csv first if possible
0
8168
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8672
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8330
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7153
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6107
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4075
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4167
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2603
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1474
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.