xsl-list
[Top] [All Lists]

Re: Transforming problem

2003-11-12 00:20:04
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