|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] closing a template inside a table, forbidden?
Hy, is this forbidden ? -----CODE----- <xsl:template match="article"> <table> ... </table> <!-- ************SECT1 PROCESSING CONTENT ************** --> <table width="610" height="48" cellpadding="0" cellspacing="0" border="0" id="sectBackground"> <xsl:apply-templates select="./title[@lang= $lang]"/> <xsl:apply-templates select="sect1[@lang = $lang or not(@lang)]"/> </xsl:template> <xsl:template match="article/sect1[@lang= $lang or not(@lang)]"> <xsl:apply-templates/> </table> ----CODE---- I get the following error: The element type "table" must be terminated by the matching end-tag "". description org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: org.xml.sax.SAXParseException: The element type "table" must be terminated by the matching end-tag "". And if it is forbidden, why? Thanks. Steve 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








