text and child nodes
Hi everybody,
here's my problem...
I have a piece of XML:
...
<article>
<emphasis>(</emphasis><ndr>1</ndr><emphasis>)</emphasis>
My TEXT
<emphasis>(</emphasis><ndr>2</ndr><emphasis>)</emphasis>
</article>
...
I should use a XSLT 1.0 to transform it and apply templates for the children emphasis-ndr-emphasis preceding "My TEXT", then write "my TEXT" and finally apply templates for the children emphasis-ndr-emphasis following "My TEXT".
The number of children emphasis-ndr-emphasis preceding or following "My TEXT" may vary.
How can I do that??
Any help would be appreciated.
Thanks a lot!
EePy.
|