[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: not wellformed contents of xsl:template
Hello Lisa ! Yes, you can do it by CDATA sections, but I believe it's not good to operate on tag level in xslt at all. xslt processor doesn't generate </blabla> tags, it outputs nodes to result tree. --- Oleg Tkachenko, Multiconn International > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Lisa Rupe > Sent: Monday, August 06, 2001 9:07 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: not wellformed contents of xsl:template > > > > Is it possible to put HTML tags that are not well-formed into > xsl:template? > I would like to be able to end a table, insert a new table, then restart > the first table-- > > <xsl:template match='line'> > </td><td width="2%"></td></tr></table> > <table border='{$table-border}' width='{$table-width}%' cellpadding="4 > "> > <xsl:call-template name='line'/> > </table> > <table width="100%" cellpadding="4" border="0"><td width="2%"></td><td > width="96%"> > </xsl:template> > > I tried using variables for the end and start fragments, but had lots of > trouble with the '<' in whatever I tried to do. > > Thanks, > Lisa > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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
|