Subject: Re: [xsl] <empty /> vs <empty></empty? From: drkm <darkman_spam@xxxxxxxx> Date: Sun, 11 Dec 2005 22:40:50 +0100 (CET) |
Eric Scheid wrote: > On 12/12/05 2:44 AM, "drkm" wrote: > > Browser? So you use 'xhtml' or 'html' serialization > > method, don't you? > yes. > <xsl:output method="html" version="1.0" > encoding="UTF-8" indent="yes" > > See <URL:http://www.w3.org/TR/xslt-xquery-serialization/>. > More exactly: > http://www.w3.org/TR/xslt-xquery-serialization/#xhtml-output Not so far: http://www.w3.org/TR/xslt-xquery-serialization/#html-output. > So, it would seem the serialiser I'm using is defective, > yes? Sadly, I don't think I have a choice in the matter, > since I'm using the built in XSLT functionality of > Filemaker. I don't know Filemaker, but I never heard this name when speaking about 2.0 (partial) implementations. So I guess it's 1.0 XSLT. So the correct reference is: http://www.w3.org/TR/1999/REC-xslt-19991116#section-HTML-Output-Method The html output method should not output an end-tag for empty elements. For HTML 4.0, the empty elements are area, base, basefont, br, col, frame, hr, img, input, isindex, link, meta and param. For example, an element written as <br/> or <br></br> in the stylesheet should be output as <br>. Don't this tool permit you to change the XSLT processor to be used? So you could use a correct implementation. --drkm ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Tilichargez cette version sur http://fr.messenger.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] <empty /> vs <empty></emp, Eric Scheid | Thread | RE: [xsl] <empty /> vs <empty></emp, Michael Kay |
RE: [xsl] xsl split string, Philippe LAPLANCHE | Date | RE: [xsl] xsl split string, Michael Kay |
Month |