This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Website XSL: strange characters
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Website XSL: strange characters
- From: Bob Bernstein <bob at ruptured-duck dot com>
- Date: Tue, 27 Mar 2001 13:28:43 -0500
Would someone please be good enough to view these two pages:
http://www.ruptured-duck.com/chunk-tabular_1.html
and
http://www.ruptured-duck.com/chunk-tabular-test_1.html
with a view towards explaining how those strange uppercase A's with what
look like small tildes above them came from?
The 'test' version used ver. 1.34 of the XSL stylesheets with ver. 1.10 of
the website distro. The other used earlier versions of these; not sure
exactly which at this stage of the game (too many changes since then).
ALSO, the 'test' version was built on a NetBSD (1.5-current) system whereas
the other was made on a Debian Linux system.
For both of these I used a script derived from Mark Johnson's excellent
tools, which looks mainly like this:
--- snip
JAVA_REP=/usr/pkg/lib/java
export JAVA_REP
/usr/pkg/java/bin/java -classpath /usr/pkg/java/lib/classes.zip:$JAVA_REP/catalog.jar:$JAVA_REP/catalog-apps.jar:$JAVA_REP/sax.jar:$JAVA_REP/xp.jar:$JAVA_REP/xt.jar -Dxml.catalog.files=/usr/pkg/share/sgml/catalogcom.arbortext.xsl.sax.Driver $1 $2 using.xt=1
--- snip
$2 names an xsl stylesheet driver file, such as:
--- snip
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="/usr/pkg/share/sgml/docbook-website/1.10/xsl/chunk-tabular.xsl"/>
<!-- Replace the text in these templates with whatever you want -->
<!-- to appear in the respective location on the home page. -->
<xsl:template name="home.navhead">
<xsl:text>Huh Sorry you came?</xsl:text>
</xsl:template>
<xsl:template name="home.navhead.upperright">
<xsl:text>It's too late now!</xsl:text>
</xsl:template>
<!-- put your customizations here -->
<xsl:param name="textbgcolor">#FFFFF0</xsl:param>
<xsl:param name="toc.pointer.graphic" select="1"/>
<xsl:param name="toc.pointer.image">graphics/icons/iconsmallrightarrow.gif</xsl:param>
<xsl:param name="toc.bgcolor">white</xsl:param>
</xsl:stylesheet>
--- snip
Thanks for any light that may be shed on this!
--
Bob Bernstein
at
Esmond, R.I., USA
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org