I have an XML file with 30 000 lines of code which I don't have any idea what it can be. My goal is to identify what this XML for. Whether it is a dump of Cache(Intersystems) Database, or some source code..I don't know, I am just assuming. Then I started to copy-paste into google to find what programming language it might be, and could not figure it out. So I came here for help.
<Method name="xmlStartProcessRequestOLD">
<Description>Сохранил на всякий случай метод (изменял основной метод из за ошибки )</Description>
<FormalSpec>xmlStream:%CharacterStream</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
set res = ""
set xml = xmlStream.Read()
set docType = ..extractAndDecodeTagValue(xml, "docType")
s ^lol($i(^lol),"ESEDO","docType") = docType
set href = ..extractAndDecodeTagValue(xml, "href")
set from = ..extractAndDecodeTagValue(xml, "from")
// about a 100 lines of code, which I intentionally skipped
q res
]]></Implementation>
</Method>
</Class>
Thank you!
extractAndDecodeTagValue
method code?