private void ListGetListItemsInXml() { XmlNode data; if (!TryGetListItemsInXml(out data)) { return; } Response.Write(XmlDataSimplifier.SimplifySPGetListItemsXml(data)); }
private void ListGetListItemsInXml(bool inJSON) { XmlNode data; if (!TryGetListItemsInXml(out data)) { return; } Response.Write(!inJSON ? HttpUtility.HtmlEncode(data.OuterXml) : HttpUtility.HtmlEncode(JSONUtil.ConvertXmlToJson(XmlDataSimplifier.SimplifySPGetListItemsXml(data), string.Empty))); }