|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: self closing elements with attributes
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








