[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Remove duplicate affiliation

Subject: Remove duplicate affiliation
From: "Joga Singh Rawat jrawat@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Dec 2023 10:01:42 -0000
 Remove duplicate affiliation
Hi Friends,

We need to remove duplicate affiliation that can be unique by @xreflabel.
Could you please let me know any clue.

Input

<authorgroup>

<author>

<name>a</name>

<affiliation xreflabel="1"><org>..</org> First affiliation</affiliation>

<affiliation xreflabel="2"><sup>..</sup> Second affiliation</affiliation>

</author>

<author>

<name>b</name>

<affiliation xreflabel="1"><org>..</org> First affiliation</affiliation>

</author>

<author>

<name>c</name>

<affiliation xreflabel="3"><org>..</org> Third affiliation</affiliation>

</author>

<author>

<name>d</name>

<affiliation xreflabel="1"><org>..</org> First affiliation</affiliation>

<affiliation xreflabel="4"><sub>..</sub> Forth affiliation</affiliation>

</author>

 

Output

<aug>

<au>a</au>

<au>b</au>

<au>c</au>

<au>d</au>

<aff><org>.</org> First affiliation</aff>

<aff><sup>.</sup> Second affiliation</aff>

<aff><org>.</org> Third affiliation</aff>

<aff><sub>.</sub> Forth affiliation</aff>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.