コード例 #1
0
ファイル: XmlStruct.cs プロジェクト: wchen02/BulletHell
        /* Recursively prints the whole xml */
        public void printXmlStruct(XmlTag tag, String append, String frontAppend)
        {
            tag.printTag(frontAppend);
            Console.WriteLine(); // Line break

            for (int i = 0; tag.Children != null && i < tag.Children.Count; ++i)
                printXmlStruct(tag.Children[i], append, frontAppend += append);
        }