How to split an xml into 3 xml
I have a xml stored in a globalCharrachter Stream.
I would like to get a full node parts of the xml to store it in an other file.
Exemple of an Xml store in cache
<doc> <header></header> <product></header> <market></marker> <doc> </aaa>
I would like to generate new xml from this one like
<product></product> to product.xml
<market></market> to market.xml
s xml = ##class(MyExemple.test).%OpenId(1) --> my object with XML <doc> store s doc = ##class(%XML.Document).%New() d doc.GetDocumentFromStream(xml.TXML)