On 30 Oct 2006 at 19:02, Also Sprach Robin Berjon: > On Oct 30, 2006, at 17:53, [EMAIL PROTECTED] wrote: > > On 30 Oct 2006 at 16:42, Also Sprach Robin Berjon: > Is there any chance that in the DOM you create you use createElement > ('div') to create elements but that in the XSLT there is a namespace > declaration binding http://www.w3.org/1999/xhtml to the default > namespace?
Spot on! > If that's the case you should create elements with createElementNS > ('http://www.w3.org/1999/xhtml', 'div'). Does it matter if I don't? > which'll get body elements in the right namespace. Or if you're > confident enough, match in any namespace with either > > $doc->getElementsByTagNameNS('http://www.w3.org/1999/xhtml', 'body'); Fixed it! Thanks! John --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]