Re: [Phpxpath-develop] Re: Last tango in Paris
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2002-06-18 02:26:06
|
> > Whilst testing this, I came across another, um, feature. If you > > have 2 exports one after the other, for example > > ... > > print $xml->exportAsXml(); > > print $xml->exportAsXml(); > > ... > > the first one will have the header, the second and subsequent > > will not. I take it this is a bug and not intentional? Seems to > > have something to do with the node index, though putting > > reindexNodeTree() between the 2 exports had no effect. Turned out to be an obscure but todo with references. Any call to export() would blank over the xmlHeader (or possibly some other string). I'm unconvinced that this was our bug rather than a PHP bug, but we could code round it so we have. Nigel |