Hi everybody,
in the below xml code, the element <first-page>635</first-page> and <last-page>645</last-page> having the same digit i.e 3 digit, 2 digit, and 4 digit etc my <last-page> first number should be remove in the out xml.
Is there any possibility in the xsl...
input xml:
Code:
<host>
<issue>
<series>
<title>
<maintitle>Cognition</maintitle>
</title>
<volume-nr>37</volume-nr>
</series>
<issue-nr>2</issue-nr>
<date>1975</date>
</issue>
<pages>
<first-page>635</first-page>
<last-page>647</last-page>
</pages>
</host>
Need Output xml:
Code:
<host>
<issue>
<series>
<title>
<maintitle>Cognition</maintitle>
</title>
<volume-nr>37</volume-nr>
</series>
<issue-nr>2</issue-nr>
<date>1975</date>
</issue>
<pages>
<first-page>635</first-page>
<last-page>47</last-page>
</pages>
</host>
any bodies help me...