xsl-list
[Top] [All Lists]

[xsl] Xslt Doubt

2010-09-27 06:35:26
I have an article xml file which consists of reference tagging as follows:


<mixed-citation publication-type="journal">
<string-name>
<given-name>Jennifer<given-name>
<surname>Piggy</surname>
</string-name>,
<string-name>
<given-name>Mark.<given-name>
<surname>Nicholas</surname>
</string-name>,edited by
<string-name>
<given-name>A<given-name>
<surname>Casti</surname>
</string-name>,
<string-name>
<given-name>John.<given-name>
<surname>Zakaris</surname>
</string-name>
</mixed-citation>

I have four string-name nodes, 2 nodes  before edited by and 2 nodes
after edited by
 I want to match template mixed-citation and pass elements in such a
way that initial 2 string-name nodes are given separate tagging than
final two string-name nodes.

such as
<naming>....</naming>,<naming>.....</naming>, edited by
<after-naming>....</after-naming>,<after-naming>.....</after-naming>
Any Idea?


--
Regards,
Chirag Matkar

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>