开发者

How to append XML file to another XML file

开发者 https://www.devze.com 2023-01-11 03:39 出处:网络
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 i

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

精彩评论

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