views:

24

answers:

2

Hi,

I am looking at the examples given at the XML_Serialize pear plugin manual.

I can't figure out what the option 'addDecl' does in this plugin.

What does this do?

I can't seem to find it in their documentation...

+1  A: 

At a (confident) guess, it'll be the XML Declaration at the start of the document

i.e.

<?xml version="1.0" encoding="UTF-8"?>

amir75
A: 

Reading the source that's exactly what it does - I've raised this as a bug in their documentation.

kguest