Ejemplo n.º 1
0
        /// <summary>
        /// todoComment
        /// </summary>
        /// <param name="cur2"></param>
        /// <param name="order"></param>
        /// <returns></returns>
        protected TRptDetailReport ParseDetailReport(XmlNode cur2, int order)
        {
            XmlNode          cur;
            Object           rg;
            TRptDetailReport element;

            cur               = cur2;
            element           = new TRptDetailReport(GetAttribute(cur, "id"));
            element.strAction = GetAttribute(cur, "action");
            cur               = NextNotBlank(cur.FirstChild);
            rg = ParseGroup(cur, ref report.parametersId, "parameter", out cur);

            if (rg != null)
            {
                element.rptGrpParameter = ((List <TRptParameter>)rg);
            }

            // cur := nextNotBlank(cur.NextSibling);
            if ((cur != null) && (cur.Name == "detailreportquery") && (cur.InnerText != null))
            {
                element.strQuery = StringHelper.CleanString(cur.InnerText);
            }

            return(element);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// todoComment
        /// </summary>
        /// <param name="cur2"></param>
        /// <param name="order"></param>
        /// <returns></returns>
        protected TRptDetailReport ParseDetailReport(XmlNode cur2, int order)
        {
            XmlNode cur;
            Object rg;
            TRptDetailReport element;

            cur = cur2;
            element = new TRptDetailReport(GetAttribute(cur, "id"));
            element.strAction = GetAttribute(cur, "action");
            cur = NextNotBlank(cur.FirstChild);
            rg = ParseGroup(cur, ref report.parametersId, "parameter", out cur);

            if (rg != null)
            {
                element.rptGrpParameter = ((List <TRptParameter> )rg);
            }

            // cur := nextNotBlank(cur.NextSibling);
            if ((cur != null) && (cur.Name == "detailreportquery") && (cur.InnerText != null))
            {
                element.strQuery = StringHelper.CleanString(cur.InnerText);
            }

            return element;
        }