This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: mismatched tags with xsl:if
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] mismatched tags with xsl:if
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 12 Mar 2001 16:54:39 GMT
- References: <Pine.LNX.4.21.0103121726180.17576-100000@elara.perceval.be>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I run into the following classical issue :
Just place the <tag> and </tag> in the same template.
Recall that with XSLT you are constructing a node tree, not writing out
XML markup. You can't have "half a node" so you can't have a <x> without
a </x>.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list