예제 #1
0
        private XmlNode GetItemXml(string sPath)
        {
            XmlNode result = CheckSitecoreReturnValue(
                _sitecoreApi.GetXML(sPath, false, _Options.Database, _credentials));

            result = result.SelectSingleNode("//item");
            return(result);
        }
예제 #2
0
        public static Sitecore5xItem GetItem(string sItemPath, Sitecore5x.VisualSitecoreService sitecoreApi, Sitecore5x.Credentials credentials, ConverterOptions Options)
        {
            XmlNode        node = sitecoreApi.GetXML(sItemPath, false, Options.Database, credentials);
            Sitecore5xItem item = new Sitecore5xItem(node.SelectSingleNode("//item"), null, sitecoreApi, credentials, Options);

            return(item);
        }