Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Confusion over patterns and expressions

From: "mikea_59" <mikea_59@-----.--->
To: NULL
Date: 4/3/2005 2:30:00 PM
Lets say I have some XML like this:

<AAA>
   <BBB>
      <b1>xx</b1>
      <b2>xxx</b2>
   </BBB>
   <CCC>
      <c1>z</c1>
   </CCC>
</AAA>

   And I want to write some XSL that will process the last node of the
root element - in this case <CCC>, ignoring all other nodes - in this
case <BBB>. I don't know the element names ahead of time so I can't use
them in the templates.

   So my general question is, how do I write the expressions in the
select part of the xsl:apply-template element and/or, how do I write
the match part of the pattern in the xsl:template element?



transparent
Print
Mail
Digg
delicious
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