TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rendy jaya
NA
15
0
compare xml file
Jul 11 2012 11:20 AM
hi,
i want to ask how to compare 2 xml node in different xml file.
for example like this,
first xml file i have like this,
<create>
<capabilities>
<capability name="brand_name" value="Toyota" />
<capability name="model_name" value="Avanza" />
<capability name="series" value="AB32" />
<capability name="p_method" value="manual" />
<capability name="p_method" value="automatic" />
</capabilities>
</create>
and for the second xml file, i have like this,
<Query>
<ItemTypeName>AndroidGame Toyota Avanza</ItemTypeName>
<UserAgent>blalal32123123</UserAgent>
</Query>
<Query>
<ItemTypeName>AndroidGame Toyota Avanza 2.0</ItemTypeName>
<UserAgent> olaolalalallalalalaa </UserAgent>
</Query>
and i want know how to compare between node, i mean for second xml file in first node itemtypename androidgame toyota avanza if have the same value with the first xml file
<capability name="brand_name" value="Toyota" />
<capability name="model_name" value="Avanza" />
and the final result like this
<create>
<capabilities>
<capability name="brand_name" value="Toyota" />
<capability name="model_name" value="Avanza" />
<capability name="series" value="AB32" />
<capability name="p_method" value="manual" />
<capability name="p_method" value="automatic" />
<capability name="useragent" value=" blalal32123123 " /> // this is from second xml file
</capabilities>
</create>
anyone can help me for this? i really need. thanks
Reply
Answers (
0
)
how can make multi bar report
I am generating dynamic file upload and button control using javascript. When i click any button on page those added control disappear. How would i retain them ?