04-18-06 05:46 AM
Try this, there is no ')' to close out the string()
(System.String)xpath(Message_1,"string(/*[local-name()='TableChangeEvent
'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]'])")
== "xxx"
"Lakshimi" <Lakshimi@discussions.microsoft.com> wrote in message
news:18CABDFB-44DF-4E94-A967-8A16875B0DA3@microsoft.com...
> Hi ,
>
> I entered the below in decide shape.
> #############################
> (System.String)xpath(Message_1,"string(/*[local-name()='TableChangeEve
nt'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']")
> == "xxx"
> ########################################
##########
> And got the error as
> --------------------------------------------------------------------------
--------------
> xception thrown from: segment 1, progress 6
> Inner exception: 'string(/*[local-name()='TableChangeEvent' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='UpdatedRows' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='Record' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='DATE_CANCEL' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']'
> has an invalid token.
> --------------------------------------------------------------------------
----------------------
>
> Can anyone help ?
>
>
> Thanks,
> Lakshimi.
[ Post a follow-up to this message ]
|