Re: [xsl] Oddness with attribute values

Subject: Re: [xsl] Oddness with attribute values
From: Peter Hickman <peter@xxxxxxxxxxxxx>
Date: Mon, 01 Dec 2003 10:39:19 +0000
Jarno.Elovirta@xxxxxxxxx wrote:

In my xsl file I have

<meta page="{../@collection}/{@number}" />

what I get in the output is

<meta page="bible/01">

Where did the trailing / go?

I'm using xsltproc

You're using HTML output method. See the spec for xsl:output and how the defaults for the method attribute are handled.


Jarno - In Strict Confidence: Stripped (Depeche Mode cover)

XSL-List info and archive:

Thanks, I set the method to xml and the doctype-public to "-//W3C//DTD XHTML 1.0//EN" and all is fine now.


XSL-List info and archive:

Current Thread