[Home] [By Thread] [By Date] [Recent Entries]

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


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.

Cheers,

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

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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


Thanks.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member