This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: several messages
- From: Steffen Maier <Steffen dot Maier at studserv dot uni-stuttgart dot de>
- To: Jochen Hein <jochen at jochen dot org>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Sun, 06 Jan 2002 17:34:10 +0100 (CET)
- Subject: DOCBOOK-APPS: Re: several messages
On Thu, 3 Jan 2002, Bob Stayton wrote:
> On Thu, Jan 03, 2002 at 09:16:46PM +0100, Jochen Hein wrote:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:xlink="http://www.w3.org/1999/xlink"
> version="1.0">
<snip/>
> <xref>
> <xsl:attribute name="href"
> namespace="http://www.w3.org/1999/xlink">
> <xsl:value-of select="@id"/></xsl:attribute>
> </xref>
On Sun, 6 Jan 2002, Jochen Hein wrote:
> >>>>> "Bob" == Bob Stayton <bobs@caldera.com> writes:
> That leaves me with the top level element
> <book xmlns:xlink="http://www.w3.org/1999/xlink">, where the
> xmlns:xlink attribute is not declared in the DTD.
Just a wild guess. Have you tried this one?
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xlink="http://www.w3.org/1999/xlink"
exclude-result-prefixes="xlink"
version="1.0">
<xref xmlns:xlink="http://www.w3.org/1999/xlink">
<xsl:attribute name="href"
namespace="http://www.w3.org/1999/xlink">
<xsl:value-of select="@id"/></xsl:attribute>
</xref>
Bye,
Steffen.
--
http://w3studi.informatik.uni-stuttgart.de/~maiersn/
mailto:Steffen.Maier@studserv.uni-stuttgart.de