XPath issue
in message_dsd_individualg83_1 have 1 record while dsdourput message have unlimited g83 nodes
sample of dsd_output_1 <dsd><dsd_lsloop><ls></ls><dsd_g83loop><g83><g8301></g8301><g8302></g8302> </g83><g72><g7201></g701><g7202></g702></g72></dsd_g83loop><le></le>
and message_dsdindividualg83_1 have <dsd_g83loop><g83><g8301></g8301><g8302></g8302> </g83><g72><g7201></g701><g7202></g702></g72></dsd_g83loop>
but below assigment gives me :
ie. getting </dsd_g83loop> twice , don't want .. please help
xpath(dsdoutput_1,"/*[local-name()='dsd' , namespace-uri()='']/*[local-name()='dsd_lsloop' , namespace-uri()='']/*[local-name()='dsd_g83loop' , namespace-uri()='']")=xpath(message_dsdindividualg83_1,"/*[local-name()='dsd_g83loop' , namespace-uri()='']");
it hard understand, source xml document , target?
anyway, try use
xpath(dsdoutput_1,"/*[local-name()='dsd' , namespace-uri()='']/*[local-name()='dsd_lsloop' , namespace-uri()='']/*[local-name()='dsd_g83loop' , namespace-uri()='']")=xpath(message_dsdindividualg83_1,"/*[local-name()='dsd_g83loop' , namespace-uri()=''][1]");
leonid ganeline [biztalk mvp] biztalkien blog
BizTalk Server > BizTalk Server General
Comments
Post a Comment