G
gregfocker
I have a node like this:
<content>
<![CDATA[global text]]>
<custom id="blah">
<![CDATA[custom text]]>
</custom>
<![CDATA[more global text]]>
<custom id="blah">
<![CDATA[more customtext]]>
</custom>
<![CDATA[still more global text]]>
</content>
For the <content> node, I'm trying to write XSL that will always
display the text OUTSIDE of the <custom> tags (global text), as well
as conditionally display the text INSIDE the <custom> tags (based on a
parameter matching the "id" attribute). Any ideas?
If a minor change in structure would help, I'm certainly open to
that. Thanks for any input.
<content>
<![CDATA[global text]]>
<custom id="blah">
<![CDATA[custom text]]>
</custom>
<![CDATA[more global text]]>
<custom id="blah">
<![CDATA[more customtext]]>
</custom>
<![CDATA[still more global text]]>
</content>
For the <content> node, I'm trying to write XSL that will always
display the text OUTSIDE of the <custom> tags (global text), as well
as conditionally display the text INSIDE the <custom> tags (based on a
parameter matching the "id" attribute). Any ideas?
If a minor change in structure would help, I'm certainly open to
that. Thanks for any input.