View Single Post
  #1 (permalink)  
Old April 8th, 2008, 12:37 PM
eepyoga eepyoga is offline
Registered User
 
Join Date: Apr 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.


Reply With Quote