Re: [xsl] Transforming problem

Subject: Re: [xsl] Transforming problem
From: fstorr <fffrancis@xxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Nov 2003 07:20:04 +0000
Rick Taylor wrote:

<Why can't I just match on the para one with match="para/text()"?>


You can -- assuming that you don't need to use the <p> as a container. Note that there is more than one text node inside your para element. If you attempt to place a <p> element in the template with match="para/text()" then you will create a <p> on every text node match.

rick

+++


Ah ha - I think I've got it! Time to get my head back into the text books. Thanks a lot

F




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread