[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Outputting closing-slash in XHTML tags
I have templates like so...
<xsl:template match="head"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <xsl:apply-templates select="title"/> <meta name="author" content="Gan Uesli Starling"/> ...and so on... </xsl:template> ...but the output looks like so... <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <xsl:apply-templates select="title"> <meta name="author" content="Gan Uesli Starling"> ...such that the closing slashes are gone. So the XHTML will not validate. I am using Xalan for this. How may I fix that, please? Thanks, Gan -- Mistera Sturno - Rarest Extinct Bird <(+)__ Gan Uesli Starling ((__/)=- Kalamazoo, MI, USA `||` ++ http://starling.us 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
|