I'm creating a xml using this
$customXML = new SimpleXMLElement('<abc></abc>');
after adding some attributes onto this, when I try to print it
it appears like this,
<?xml version="1.0"?>
<abc id="332"><params><param name="aa">33</param></params></abc>
Is there a way to remove the xml version node ?
Thank you
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…