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: Website text-only questions/problems (encoding, index reference)



Hi,

I have recently started to use website, and am very happy with it.
There are some minor issues for me, trying to create a tabular and
text-only version in one go:


1) How to modify encoding on text-only version ?

When I generate a textonly version of my website (the tabular one is
fine) via

SGML_CATALOG_FILES=/etc/sgml/catalog xsltproc --catalogs --nonet \
 --maxdepth 999  --stringparam output-root .  mywebsite.xsl autolayout.xml

I get 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

at the top of each generated html file. How can I change the UTF-8 encoding
to ISO-8859-1 ? (I have tried modifying mywebsite.xsl, but with no success)
I have tried the following (in vain)

  <xsl:output method="xml" encoding="ISO-8859-1" indent="no"/>
  <xsl:output method="text" encoding="ISO-8859-1" indent="no"/>
  <xsl:output method="html" encoding="ISO-8859-1" indent="no"/>

  <xsl:param name="encoding" select="'ISO-8859-1'"/>


2) Alternative link toggle between tabular/text-only

Another thing is that I have added a link from the tabular to the text-only
version via

    <tocentry id="togglemode" href="txtindex.html">
      <title>(text only)</title>
    </tocentry>

That works fine in the sense tabular->text-only. But I'd like to get the
inverse link to tabular on the text-only version. How could one achieve
this ? Eg a "conditional" version of the above that changes to

    <tocentry id="togglemode" href="index.html">
      <title>(tabular)</title>
    </tocentry>

Thanks in advance,

  Marc Baaden

-- 
 Dr. Marc Baaden  - Institut de Biologie Physico-Chimique, Paris
 mailto:baaden@smplinux.de      -      http://www.marc-baaden.de
 FAX: +49 697912 39550  -  Tel: +33 15841 5176 ou +33 609 843217




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