Created
September 11, 2012 23:59
-
-
Save klaussantana/3703129 to your computer and use it in GitHub Desktop.
Gerando um arquivo XML no PHP 5.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$XML = new SimpleXMLElement('<Configuration></Configuration>', null, false); | |
$XML->addChild('Teste', 'Um bom teste de criação de XML.'); | |
$XML->asXML('teste.xml'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment