Looking up only the parent node
Posted: Tue Aug 05, 2008 10:15 pm
Hi, I'm working with some XML that looks something like this:
<root>
<example>
text text
<code>
text text
</code>
</example>
</root>
I am only interested in extracting the <example> text into my XSLT document. How can I go about this without also extracting the child <code>?
<root>
<example>
text text
<code>
text text
</code>
</example>
</root>
I am only interested in extracting the <example> text into my XSLT document. How can I go about this without also extracting the child <code>?