Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Structure of SOAP response

sangeeta kapoor
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to write an XSLT to transform a SOAP response XML.
Since I have no idea about SOAP, I need some info to proceed with the XSLT.

The XML is in the form of

What I want to know it that
1. Is it possible that one <content> element has 3 <Attribute> elements, while another <Content> element has a differnet no. of attribute elements, say 4. In the XML which I have received all <content> elements have 3 <Attribute> elements. But I want to be sure (as per the rules of SOAP), if it can change in future.

2. Also, if one <content> element has 3 <Attribute> elements with "Name" attribute values as "object_id", "resource_name" and "title". Is it possible that another <content> element has 3 <<Attribute> elements which have completely different "Name" attribute values, say "abc", "xyz", "pqr".

Please help me with this.

Thank You
[ May 11, 2007: Message edited by: sangeeta kapoor ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic