Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Problem with xsl:template using XSLT 1.0

From: Florent Georges <lists@------------>
To:
Date: 12/2/2007 2:41:00 PM
Scott Trenda wrote:

  Hi

> Remember that your <xsl:template/> elements should match
> fairly generically (match="player" in this case), and your
> <xsl:apply-templates/> elements should be where you narrow
> down your selection.

  Weird, personnally I would have said the opposite.

  A template rule focuses on how dealing with the current
node, and delegates how dealing with other nodes to other
rules.  One natural way (but there are others) to handle
complexity is then to apply templates to all children and
let template rules to handle differently different matches.

  Off course, that supposes that there is a specific place
in a template rule to put an instruction "apply templates to
all children."

  Regards,

--drkm






















      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent