I'm using docbook-xsl-1.73.2 with hr-xsl-012 in Eclipse on a Mac (10.4.7) to convert an HR-XML resume to XHTML. I'm not experiencing any errors with SAXON or ANT, but my output is getting garbled some. The following snippets are from the docbook that hr-xsl produces:
<para>To obtain a senior software engineer position in the Raleigh - Durham North Carolina area with a Fortune 100 company.</para>
<quote>Using JSR 226 for Declarative UI on iDEN Mobile Devices</quote>
J2ME Developer's Conference.
docbook-xsl is producing the following xhtml snippets:
<p><b>Objective.Â </b>To obtain a senior software engineer position in the Raleigh - Durham North Carolina area with a Fortune 100 company.</p>
<li>â€œ<span class="quote">Using JSR 226 for Declarative UI on iDEN Mobile Devices</span>â€ Sprint Developer's Conference. Fort Lauderdale, FL. 2005.</li>
I'm not having any problems with HTML output, only XHTML. I think this has to do with encodings. My docbook is encoded at UTF-8 according to the XML declaration. However, I think some of the character entities that are being used by docbook-xsl may not encoded in UTF-8. I don't understand much of how docbook-xsl works yet, but when I changed the docbook.xsl file in the xhtml directory to output as ISO-8859-1 instead of UTF-8, it fixed my problem.
Log in to post a comment.