Re: <xsl:element name="input">

Subject: Re: <xsl:element name="input">
From: Phil Lanch <phil@xxxxxxxxxxxxxxx>
Date: Fri, 12 Nov 1999 10:37:49 +0000
Dale Asberry wrote:
> 
> I'm creating an HTML <input> tag using XT and it won't generate a closing
> tag.  Any ideas?

When you use HTML output method,
closing tags aren't generated for HTML tags that
are 'empty by definition' (including <input>).

When the top-level output tag is <html>,
you get HTML output method by default.

You can override the default by saying:

<xsl:output method="xml"/>

In other words: it's a feature, not a bug.

-- 

cheers

phil


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


Current Thread