cXML: Changing Qty field value in XML Stream

Jason Jodon

Usenet Archive
Joined
Oct 14, 2003
Messages
3
Reaction score
0
I am trying to change the value of the Qty field in this cXML stream to reflect the value the user enters in the Qty field. Our programmer showed me this in XML using Microsoft.XMLDOM, but the rules don't seem to apply for cXML. Any help would be greatly appreciated by this very new cXML programmer. Thanks!!!

---

<FORM METHOD=POST ACTION="https://service.ariba.com/punchout?community=1">

<TD width="10%" bgcolor="#C0C0C0" align="center"><font
size="1"><INPUT NAME="Qty" SIZE=3 TYPE=TEXT value="1"</font></TD> <TD width="10%" bgcolor="#C0C0C0" align="center"><font size="1">

<INPUT TYPE=IMAGE SRC="Images/BuyButton.gif" align="middle" value=BUY> <INPUT TYPE=HIDDEN NAME="cxml-urlencoded" VALUE=" <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <!DOCTYPE cXML SYSTEM &quot;cXML.dtd&quot;> <cXML version=&quot;1.0&quot; payloadID=&quot;10/14/2003 1:43:07 &quot; timestamp=&quot;10/14/2003 1:43:07 PM&quot;> <Header> <From> <Credential domain=&quot;ariba.com&quot;> <Identity>000000000-T</Identity> </Credential> </From> <To> <Credential domain=&quot;ariba.com&quot;> <Identity>AN01000002779-T</Identity> </Credential> </To> <Sender> <Credential domain=&quot;ariba.com&quot;> <Identity>004520987-T</Identity> </Credential> <UserAgent>PunchoutSite</UserAgent> </Sender> </Header> <Message> <PunchOutOrderMessage> <BuyerCookie>5131102</BuyerCookie> <PunchOutOrderMessageHeader operationAllowed=&quot;edit&quot;> <Total> <Money currency=&quot;USD&quot;>49.3</Money> </Total> </PunchOutOrderMessageHeader> <ItemIn quantity=&quot;1&quot;> <ItemID>

---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,050
Messages
3,104,249
Members
248,133
Latest member
DujonT

Latest Threads

Top