![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Confusion over patterns and expressions Confusion over patterns and expressionsTo: 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?
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
