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.
加载中,请稍侯......
精彩评论