RE: [xsl] XSLT2 processing question

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:


> 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:




Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.

Current Thread