Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个 XML 文件
Parent.xml <root> <data>data</data> </root>
和
Child.xml <Croot> <tag> include parentr data here </tag> </Croot>
我想包含 parent.xml 中存在的数据,这样 Nokogiri 解析器可以读取导入它并读取它。谁能帮我怎么做?
看看这个例子:
https://gist.github.com/wrburgess/1481481