| | |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | arg.AddArg(L"pid", id); |
| | | arg.AddArg(L"tree", xid); |
| | | //if(xaserver::ExecXQuery(GetServerUrl(),L"[selectRoleInt.xq]",arg.GetString(),x)!=1) |
| | |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | arg.AddArg(L"id", id); |
| | | trace(id); |
| | | arg.AddArg(L"flag", L"-1"); |
| | |
| | | return -1; |
| | | } |
| | | |
| | | if (x.xml() == L"") |
| | | if ((xstring)x.xml() == L"") |
| | | x.loadXML(L"<root><items/><roles/></root>"); |
| | | |
| | | xml x1; |
| | |
| | | return -1; |
| | | } |
| | | |
| | | if (x.xml() == L"") |
| | | if ((xstring)x.xml() == L"") |
| | | x.loadXML(L"<root><items/><roles/></root>"); |
| | | |
| | | KXMLDOMElement e = x.documentElement(); |