Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have below XML format.
And I have to extract value from tag NAMENUM on the basis of delimiter(.) .I need a out after applied XSLT.
<PNRNames> <PNRName> <PNR_ID>1125280434952240</PNR_ID> <NAMENUM>2</NAMENUM> <suffix>10<suffix> <prefix>2</prefix> <FIRSTNAME>JEFFREYBRIAN</FIRSTNAME> <LASTNAME>MINEAR</LASTNAME> <STATINFO/> </PNRName> </PNRNames>
I am new in xslt.your help really appreciable
I find the solution .
Thanks
Hi Maneesh
Great to see you found the solution to your issue/challenge.
Could you perhaps share your solution in case others face the same challenge as you at some point? :-)
Happy coding!
/Jan
Use substring-after and before like below.
<xsl:value-of select="substring-after(NAMENUM,'.')"/> </passengerNumber> <prefix> <xsl:value-of select="substring-before(NAMENUM,'.')"/> </prefix> <suffix> <xsl:value-of select="substring-after(NAMENUM,'.')"/> </suffix>
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Solution to write XSLT
Hi,
I have below XML format.
And I have to extract value from tag NAMENUM on the basis of delimiter(.) .I need a out after applied XSLT.
I am new in xslt.your help really appreciable
I find the solution .
Thanks
Hi Maneesh
Great to see you found the solution to your issue/challenge.
Could you perhaps share your solution in case others face the same challenge as you at some point? :-)
Happy coding!
/Jan
Use substring-after and before like below.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.