解析XML,如上图,如何按照Name分组显示呢


        解析XML,如下图,怎么按照Name分组显示呢 <br />



下面还有 Name = "other" 等~


 


我现在想要保存成这样


App


        ../../Classes/AppDelegate.cpp


other


        ../../Classes/other.cpp


 


可我目前的状况是:


App


        ../../Classes/AppDelegate.cpp


        ../../Classes/other.cpp


other


        ../../Classes/AppDelegate.cpp


        ../../Classes/other.cpp


 


怎么能按照Name显示呢 我用的Lua脚本写的~


 

perl 程序开发 Perl语言基础

cybora 10 years, 6 months ago

图挂了。

可以把脚本贴上来吗?

俊程Jared answered 10 years, 6 months ago

Your Answer