docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Transformation Question
- From: andrew_forstie@choicehotels.com
- To: docbook-apps@lists.oasis-open.org
- Date: Wed, 31 Jan 2007 16:26:55 -0700
I am using xsltproc (the default install in Fedora) to transform my docbook article to HTML. I noticed in the source code of the HTML file it puts  and what appears to be a pipe in some places.
For example I am using the <literallayout> element as shown below:
<literallayout><hotel-room code="NSQ" occupancy="5" max-occupancy="5" non-smoking="yes" suite="yes">
<bed type="queen" count="1"/>
<bed type="twin" count="3"/></literallayout>
The source code of the HTML file for this section after the transformation:
<div class="literallayout"><p><hotel-roomÂ| code="NSQ"Â| occupancy="5"Â| max-occupancy="5"Â| non-smoking="yes"Â| suite="yes"><br />
Â| Â| Â| Â| Â| Â| Â| Â| Â| <bedÂ| type="queen"Â| count="1"/><br />
Â| Â| Â| Â| Â| Â| Â| Â| Â| <bedÂ| type="twin"Â| count="3"/></p></div>
Then of course, in a browser it would display as it looks below:
<hotel-room code="NSQ" occupancy="5" max-occupancy="5" non-smoking="yes" suite="yes">
         <bed type="queen" count="1"/>
         <bed type="twin" count="3"/>
I get this same behavior in other places as well (e.g. table titles), but this example has the most occurences.
At this point I am not sure it this is caused by xsltproc, the encoding, or some other factor that I am overlooking. Has anyone run across this before? Any ideas on how to fix this?
Thanks in advance.
Andy
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]