M
mTbrains
I'm trying to pull out just three elements with a particular content
from a list of elements
my xml:
<content>
<topic>
<name>Sport</name>
....
</topic>
...
<topic>
<name>Health</name>
...
</topic>
.....
</content>
Here's what works in my xsl file, but there's probably a
better/easier/more efficient way of doing it:
<xsl:for-each select="topic[./name='Sports']| topic[./name='Movies']|
topic[./name='US News']">
Thanks in advance...martin
from a list of elements
my xml:
<content>
<topic>
<name>Sport</name>
....
</topic>
...
<topic>
<name>Health</name>
...
</topic>
.....
</content>
Here's what works in my xsl file, but there's probably a
better/easier/more efficient way of doing it:
<xsl:for-each select="topic[./name='Sports']| topic[./name='Movies']|
topic[./name='US News']">
Thanks in advance...martin