OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Transformation Question


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>&lt;hotel-room code="NSQ" occupancy="5" max-occupancy="5" non-smoking="yes" suite="yes"&gt;
         &lt;bed type="queen" count="1"/&gt;
         &lt;bed type="twin" count="3"/&gt;</literallayout>
 
The source code of the HTML file for this section after the transformation:
<div class="literallayout"><p>&lt;hotel-roomÂ| code="NSQ"Â| occupancy="5"Â| max-occupancy="5"Â| non-smoking="yes"Â| suite="yes"&gt;<br />
Â| Â| Â| Â| Â| Â| Â| Â| Â| &lt;bedÂ| type="queen"Â| count="1"/&gt;<br />
Â| Â| Â| Â| Â| Â| Â| Â| Â| &lt;bedÂ| type="twin"Â| count="3"/&gt;</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]