How can I split an xml-string into different xml-strings by tag?
Suppose I have the following XML. How can I have a xml-string with tag1 and its values, tag2 and its values and, tag3 with its values.
<?xml version="1.0"?>
<Tag0>
<Tag1> //Other tags and values for tag1 </Tag1>
<Tag2> </Tag2>
<Tag3> </Tag3>
</Tag0>
I'm splitting the XML because when I create the XSD for the xml-strings it creating just XSD for just the tag1 because rest of them have the same namespace as tag1.