Re: [PHP] manipulating XML via php DOM

2007-11-21 Thread pere roca ristol
Jonas, that's what I want to get (and is valid). Thanks, ... genus ontophaugs332 genus ontophaugs332 genus ontophaugs ... 2007/11/21, Jonas Geiregat <[EMAIL PROTECTED]>: > > I don't think it is valid to have an opening tag and a closing tag with > nothing

Re: [PHP] manipulating XML via php DOM

2007-11-21 Thread Jonas Geiregat
I don't think it is valid to have an opening tag and a closing tag with nothing in between. So an initial and a final , as you recall it, should become . Second, I'm not sure I understand what you want to accomplish. From the example document you added is this the result you expect: genu

[PHP] manipulating XML via php DOM

2007-11-20 Thread pere roca
please, I need some help with php DOM, for me it's becoming a hell! After trying other methods (check message from 19th november, called "php DOM question"), I'm getting a little more success to manipulate XML. >From the code you can see below you generate this xml. Now I just want to keep only