Re: Extracting Node Attributes

Home Page Forums BizTalk 2004 – BizTalk 2010 Extracting Node Attributes Re: Extracting Node Attributes

#16786

Thanks for the tip on the Instance XPath property.

When I put the value from the Instance XPath property in my xpath query, I get the following error. 

Inner exception: The part 'text' of message 'AddNoteRequest' contained a null value at the end of the construct block.
Exception type: NullPartException
Source: Microsoft.XLANGs.Engine

Here is the line in my Message Assignment shape that generates the error.

AddNoteRequest.text = xpath(NoteDto,"/*[local-name()='Note' and namespace-uri()='http://FlatFileTest.Notes'%5D/*%5Blocal-name()='Narrative' and namespace-uri()='']");

I double-checked my file and found no null characters in it.

The Microsoft KB says that the NullPartException comes from one orchestration calling another.  This is not the case in my scenario.

I appreciate this help, but I'm still stuck.

Thanks!