← Prev in month ← Prev in thread

valid XHTML

From
Tomasz Przechlewski <>
Date
2007-02-17T13:43:35+00:00
ID
Thread
valid XHTML
Hi,

Proceeding along recommendations from chapter 24 of DocBook XSL: The
Complete Guide, I have managed to get `almost' valid XHTML
using 1.72.0 of the xslstylesheets and xsltproc. The
most serious problem encountered was that resulting xhtml document
contains id attributes that are not unique.
Is this a known bug or I have missed something in my
customization layer?

Regards

--tp

The customization layer used is included below (relevant part of it)

<?xml version='1.0' encoding="iso-8859-2" ?>
<xsl:stylesheet
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns="http://www.w3.org/1999/xhtml"
   version="1.0" >
<xsl:import
href="/usr/local/sgml/stylesheets/xmldocbook/1.72.0/xhtml/docbook.xsl"/>

<xsl:output method="xml"
     doctype-public="-//W3C//DTD XHTML 1.1//EN"
     doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"  />
  <xsl:param name="css.decoration" select="0"/>
  <xsl:param name="ulink.target" select="''"/>
  <xsl:param name="make.graphic.viewport" select="0"/>
  <xsl:param name='html.longdesc' select='0'/>
  <xsl:param name="generate.id.attributes" select="1" />

etc...
← Prev in month ← Prev in thread