Skip to Content
Former Member
May 10, 2011 at 12:24 AM

XSLT question


Hi all,

Need help on reading attribute value of XML field in XSLT mapping .

Part of source code, where we want to read attribute actionCode value i.e., "Accepted".

<ResponseCriteria actionCode="Accepted">
								<Code>Position Opening was created</Code>
								<Reason>PositionID assiggned - 10939</Reason>

We are able to reach till the location with below code in XSLT,

<xsl:value-of select="//*[local-name()='ResponseCriteria']"/>

This code is giving us values of Code & Reason fields.

How to get the values of attribute actionCode?? any ideas........