everyone was probably under-estimating my n00bness. I had not even yet specified a Document Type in TN for this XML format. after poking around with that, I’m able to get TN to recognize the Document Type and the Receiver, but still need to find out how to match an element in the XML to the SenderID.
the xml is like so:
<Name1>[our customer’s name here]</Name1>
<Name1>RED MAN PIPE AND SUPPLY</Name1>
so there are multiple InvoiceParty elements, and the ‘Name1’ element under the InvoiceParty that has a child element ‘Role’ with a value of ‘I’ is the SenderID.
so, in the Extract I set the attribute to extract SenderID using this query:
to the build-in User Defined 1 which I now have set as the same as what was in Name1. but I get a query failed error:
Envelope query for SenderID of doctype XignInvoice failed to produce a result.
this is a valid XPath query, I think. is the TN xml querying language not XPath?!