| | |
| | | return arg; |
| | | } |
| | | |
| | | string GetGuid() |
| | | static string GetGuid() |
| | | { |
| | | return publiccode::GetGuid(); |
| | | } |
| | | |
| | | //获取行元素的值 |
| | | xstring GetElementString(KXMLDOMElement e, xstring name) |
| | | static xstring GetElementString(KXMLDOMElement e, xstring name) |
| | | { |
| | | if (name == L"") return L""; |
| | | if (e.selectSingleNode(name)) |
| | |
| | | return L""; |
| | | } |
| | | |
| | | string GetElementString(KXMLDOMElement e, xstring name, bool isdisplay) |
| | | static string GetElementString(KXMLDOMElement e, xstring name, bool isdisplay) |
| | | { |
| | | if (isdisplay) name += L"/@_displaystring"; |
| | | return GetElementString(e, name); |