Georg Hohmann wrote:
Hi
But the result i get from my stylesheet is this:
<?xml version="1.0" encoding="UTF-8"?>
<adress>
This is data about customers
<firstname>John</firstname>
123
<firstname>Tom</firstname>
456
<firstname>Edna</firstname>
789
</adress>
This is because you (and the element built-in template rules) apply
templates on each node in the tree. And because the built-in template
rule matching "text()" copy the text node to the result tree. Jeni has
answered the same question in the FAQ, at:
http://www.dpawson.co.uk/xsl/sect2/defaultrule.html
Regards,
--drkm
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--