|
Subject: RE: [xsl] XSLT2 processing question From: Florent Georges <darkman_spam@xxxxxxxx> Date: Tue, 23 May 2006 15:36:20 +0200 (CEST) |
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 riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XSLT2 processing question, David Carlisle | Thread | Re: [xsl] XSLT2 processing question, Jagdishwar B |
| Re: [xsl] XSLT2 processing question, andrew welch | Date | Re: [xsl] Need help with XSL and XP, Jay Bryant |
| Month |