XPath expression failed to execute Error during evaluation of XPath "ora:doXSLTransformForDoc
Hello Friends,
I am getting an xpath error while mapping xml string using parseXML(TOInputPayload
) function to stage file
Below is code snippet from code view of OIC Mapper
<xsl:template match="/" xml:id="id_11">
<nstrgmpr:Write xml:id="id_12">
<xsl:copy-of select="oraext:parseXML ($TOInputPayload )"/>
</nstrgmpr:Write>
</xsl:template>
TOInputPayload
=
<LgfData><Header> <DocumentVersion>23.1.0</DocumentVersion> <OriginSystem>Oracle Fusion Inventory Management</OriginSystem> <ClientEnvCode>23A</ClientEnvCode> <ParentCompanyCode>PP</ParentCompanyCode> <Entity>ib_shipment</Entity> <TimeStamp>2025-05-05T21:36:34.177Z</TimeStamp> <MessageId>100000118580509</MessageId> </Header><ListOfIbShipments><ib_shipment><ib_shipment_hdr> <shipment_nbr>OSODL10100010841-1</shipment_nbr> <facility_code>206</facility_code> <company_code>ODLUS</company_code> <trailer_nbr>841</trailer_nbr> <action_code>CREATE</action_code> <ref_nbr>675290</ref_nbr> <shipment_type>TRANSFER ORDER</shipment_type> </ib_shipment_hdr><ib_shipment_dtl> <seq_nbr>1065524</seq_nbr> <action_code>CREATE</action_code> <item_alternate_code>310556</item_alternate_code> <shipped_qty>1</shipped_qty> <lpn_nbr>00372569</lpn_nbr> <batch_nbr></batch_nbr> <expiry_date></expiry_date> <shipping_packing_unit>1010505202500372569</shipping_packing_unit> <shipping_outermost_packing_unit>1010505202500372569</shipping_outermost_packing_unit> <pallet_nbr>1010505202500372569</pallet_nbr> <receipt_advice_line>675290~^~1065524</receipt_advice_line> </ib_shipment_dtl></ib_shipment></ListOfIbShipments></LgfData>