[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: self closing elements with attributes

Subject: Re: self closing elements with attributes
From: annirack@xxxxxxx
Date: Wed, 07 Jan 2004 09:21:07 -0800
self closing tags
> Therefore, since you didn't have an <xsl:output/> instruction, 
> that means 
> that you must have had either "html" or "HTML" as the element type 
> of your 
> document element of your result tree.
> 
> Therefore ... your result is probably HTML which doesn't need an 
> end tag 
> for <link> or <img>.  If your output isn't HTML then using any 
> other 
> document element in the result would have given you your desired 
> end tags 
> without needing <xsl:output/>.
> 
> So I'm curious why you do need end tags for elements of these two 
> element 
> types in a result that begins with the "html" document element.

You're exactly right.  I am using html as my output.  I want closed tags because I'm trying to be compliant to the emerging standards by using xhtml.  I notice now that I forgot my xmlns which might have something to do with the problem.

Would anyone know how I can specify a DTD for my output using XSL?  That was one thing I couldn't figure out.


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.