【发布时间】:2016-05-19 14:45:12
【问题描述】:
我有一个包含 30 000 行代码的 XML 文件,我不知道它是什么。我的目标是确定这个 XML 的用途。无论是缓存(系统间)数据库的转储,还是一些源代码..我不知道,我只是假设。然后我开始复制粘贴到谷歌寻找它可能是什么编程语言,但无法弄清楚。所以我来这里寻求帮助。
<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>
谢谢!
【问题讨论】:
-
能否提供
extractAndDecodeTagValue方法代码? -
和xml文件中的内容
-
代码很可能从某个节点提取属性值
-
真的不是很清楚你在问什么,或者你想解决什么。请参阅stackoverflow.com/help/how-to-ask 了解如何提出一个能吸引好的答案的好问题。
-
此代码是我们公司编写的,请联系我们
标签: xml vba caching intersystems-cache