1 Dec 2007 01:16
RE: Weird characters in generated HTML
David Cramer <dcramer <at> motive.com>
2007-12-01 00:16:11 GMT
2007-12-01 00:16:11 GMT
<a id="foo"/> shouldn't be a problem (my docs are full of them...I do
generate xhtml and stay out of quirks mode, but I don't think that
matters here) unless you do something like a{ color: blue;
text-decoration: underline;} in your css. Then everything after a <a
id="foo"/> until the next time a closing </a> tag is reached will be
blue. Do a[href]{ color: red; text-decoration: underline;} instead.
David
> -----Original Message-----
> From: Johnson, Eric [mailto:Eric.Johnson <at> iona.com]
> Sent: Friday, November 30, 2007 5:18 PM
> To: Barton Wright; David Cramer
> Cc: docbook-apps
> Subject: RE: [docbook-apps] Weird characters in generated HTML
>
> As far as I can tell it is all of the anchors. Not just the
> olink ones.
> I'm calling Saxon, with Xerces, from ant using the java task:
>
> <java classname="com.icl.saxon.StyleSheet"
> classpathref="xslt-classpath" fork="true">
> <sysproperty
> key="javax.xml.parsers.DocumentBuilderFactory"
> value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
> <sysproperty key="javax.xml.parsers.SAXParserFactory"
> value="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
> <sysproperty
> key="org.apache.xerces.xni.parser.XMLParserConfiguration"
> value="org.apache.xerces.parsers.XIncludeParserConfiguration"/>
(Continue reading)
RSS Feed