Exception extracting attributes from DocType

Hi folks,

I’m working with Papinet PO and I need to extract the MillCharacteristics\MillParty\PartyIdentifier content. When I try to save the Attributes to extract from the document I’m receiving an error message. I’m using IS 4.6 and TN Console 4.6

I’m using the following query:
PO_List/PurchaseOrderLineItem[0]/MillCharacteristics/MillParty/PartyIdentifier[0]/*body

TN returns the following exception:
ErrorMessage:
<errorid> TRNCONS.000030.000002 </errorid>
<errorlevel> ERROR </errorlevel>
<serverversion> </serverversion>
<servername> </servername>
<serverhostname> </serverhostname>
<clientversion> </clientversion>
<clienthostname> </clienthostname>
<username> </username>
<classname> DocTypeExtractPanel </classname>
<methodname> saveDocType </methodname>
<errortime> Wed Oct 15 13:50:42 BRST 2003 </errortime>
<errortext> Error saving envelope queries </errortext>
<additionalerrortext> </additionalerrortext>
<suggestedactions> </suggestedactions>

<exception> <superexception>com.wm.ui2.UiException:
</superexception>
<sourceexception>com.wm.app.tn.doc.BizDocTypeException:
</sourceexception>
<problem>null</problem>
<reason>
</reason>
<details>null</details>
<callstack>null</callstack>
<pipeline>null</pipeline>
</exception>

Any help will be appreciated,
Maldonado

Hey guys,

Any comments about this issue?

Thanks,
Maldonado

Maldonado

don’t specify *body
ie. use PO_List/PurchaseOrderLineItem[0]/MillCharacteristics/MillParty/PartyIdentifier[0]

See wMTN_BuildingYourNetwork.pdf pg 172 (chap 11) and the section on XQL reference ([url=“XML Query Language (XQL)”]XML Query Language (XQL) 2.5. Collecting element children) where ‘*’ has a special meaning.

HTH
Kevin