Link to home
Start Free TrialLog in
Avatar of ShaileshShinde
ShaileshShindeFlag for India

asked on

XPTY0004: A sequence of more than one item is not allowed as the first argument of translate()

Hello Expert,

I am getting following error for the code below...

<xsl:value-of select="translate(translate(prolog/asMetadata/apiVersion/apiPlatform/@version,'+',''),',','.')"/>
with the error as

XPTY0004: A sequence of more than one item is not allowed as the first argument of translate()

can you please suggest what will be the alternative for the line code in saxon xslt2.0..

Thanks,
Shailesh
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ShaileshShinde

ASKER

Thanks Expert!!