Example #1
0
        public virtual string GetSQPPath(SifVersion version)
        {
            StringBuilder b = new StringBuilder();

            if (IsAttribute(version))
            {
                b.Append('@');
            }
            b.Append(Tag(version));
            ElementDefImpl p = fParent;

            while (p != null && !p.Object)
            {
                b.Insert(0, p.Tag(version) + "/");
                p = p.fParent;
            }

            return(b.ToString());
        }