smartTest
12 years agoContributor
Search and Replace within XML
Hiya
One of my tests requires me to transfer over a large amount of XML from a response message into a new request. When this happens it transfers over the original namespaces as well as the included text/attributes. Does anyone know if there is a way to either:
a) Stop the namespaces being transferred in the Property Transfer
b) Offer another way of transferring a large set of nodes/child nodes so the namespaces are not transferred
c) Script a simple search and replace to amend the namespaces and to include removal of un-necessary xslt's?
Right now, this is a manual process which is taking a long time to complete and means these scripts cannot be automated.
thanks
One of my tests requires me to transfer over a large amount of XML from a response message into a new request. When this happens it transfers over the original namespaces as well as the included text/attributes. Does anyone know if there is a way to either:
a) Stop the namespaces being transferred in the Property Transfer
b) Offer another way of transferring a large set of nodes/child nodes so the namespaces are not transferred
c) Script a simple search and replace to amend the namespaces and to include removal of un-necessary xslt's?
Right now, this is a manual process which is taking a long time to complete and means these scripts cannot be automated.
thanks