开发者

How to append XML file to another XML file

I'm trying to create an xml-based template system. The idea is to return my views as xml files (xhtml) and then appe开发者_JAVA百科nd them to specific nodes in a template xml file. The template xml is then transformed with xslt.

My question is: how do I insert these xml files into the template xml file?


See DOMDocument::importNode and DOMNode::appendChild.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜