Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

Need help with Xerces XML lib on C++

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Need help with Xerces XML lib on C++

Old 03-22-06, 08:18 AM
  #1  
DVD Talk Special Edition
Thread Starter
 
Join Date: Jan 2001
Location: New York, N.Y.
Posts: 1,713
Likes: 0
Received 0 Likes on 0 Posts
Need help with Xerces XML lib on C++

Hi,

I heard that there was a way to set the attribute of a element by passing in the full XML path instead of searching the entire XML doc for the element.
What is the method to do this?
What is the synatx?

I.e. for the following XML message


<TestXML>
<TestTrade>
<Node1 TradeId="abc">
</TestTrade>
</TestXML>


I'm looking for something like this...

XMLMessage.setAttribute("/TestXML/TestTrade/Node1",TradeId,"cde");

that will change its attribute from "abc" to "cde"

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.