I should have mentioned that if you run your test file against the schema using hcixmltest you will see the address of the attribute. For example, I have a simple XML file and run the test, I see:
C:cloverleafcis6.0integratorcbtest>hcixmltest -p ship shipOrder shipOrder.xml
MESSAGE 1
shiporder.&orderid: >889923<
shiporder.orderperson.#text: >John Smith<
shiporder.shipto.name.#text: >Ola Nordmann<
shiporder.shipto.address.#text: >Langgt 23<
shiporder.shipto.city.#text: >4000 Stavanger<
shiporder.shipto.country.#text: >Norway<
shiporder.item(0).title.#text: >Empire Burlesque<
shiporder.item(0).note.#text: >Special Edition<
shiporder.item(0).quantity.#text: >1<
shiporder.item(0).price.#text: >10.90<
shiporder.item(1).title.#text: >Hide your heart<
shiporder.item(1).quantity.#text: >1<
shiporder.item(1).price.#text: >9.90<
Note that is the attribute for the node shipOrder”
<shiporder orderid="889923"
If I look at it in Xlate I can access it under shipOrder at address &ordered
Hope this helps else send me a mail and I can send you an example