How- XLST Transformation
Posted
by
Yuan Ray
on Stack Overflow
See other posts from Stack Overflow
or by Yuan Ray
Published on 2012-09-03T03:36:55Z
Indexed on
2012/09/03
3:37 UTC
Read the original article
Hit count: 265
Just wanted to ask on how to get the author names in the given xml sample below and put an attribut of eq="yes". EQ means Equal Contributors.
This is the XML.
<ArticleFootnote Type="Misc">
<Para>John Doe and Jane Doe are equal contributors.</Para>
</ArticleFootnote>
This should be the output in other form of XML.
<AuthorGroups>
<Authors eq="yes">John Doe</Authors>
<Authors eq="yes">Jane Doe</Authors>
</AuthorGroups>
Assuming that JOhn Doe and Jane Doe are already defined in the list of authors but after the transformation, author tag should have the attribute eq="yes". Please help as I don't know much writing in xlst.
Thanks in advance.
© Stack Overflow or respective owner