Hi,
My Problem is this:
I have a xml document that contains articles, I want to extract one specific article with a known id:
$article = xml->get_elements_by_tagname("article[@id='46']");
now I want to put this node into a new xml doc in order to parse it with my static xsl file.
Trying to put it into a domxml_new_doc() resulted in this error:
Can't append node, which is in a different document than the parent node in ...
I could of course control this from within the xsl, doing
<xsl:template match="article[@id='46']">
but my xsl file is static and I dont want to create it dynamically.
Any plans on this?
Thanks
Tom