xsl-list
[Top] [All Lists]

Re: Oddness with attribute values

2003-12-01 03:39:19
Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com wrote:
Hi,


In my xsl file I have

<meta page="{../@collection}/{(_at_)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



<Prev in Thread] Current Thread [Next in Thread>