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

RE: closing a template inside a table, forbidden?

Subject: RE: closing a template inside a table, forbidden?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sat, 4 Jan 2003 15:11:45 +0100
RE:  closing a template inside a table
Yes.

XSLT documents must be well-formed XML.

What is it supposed to do?

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Hubert Holtz
> Sent: Saturday, January 04, 2003 2:53 PM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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
> 

 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.