- simplexml_load_string: documentation ( source)
- print_r: documentation ( source)
- dom_import_simplexml: documentation ( source)
<?php
$this->fc = simplexml_load_string('<QRY_A19 xmlns="urn:hl7-org:v2xml"></QRY_A19>','SimpleXMLElement', LIBXML_NOCDATA);
$domrequest = dom_import_simplexml($this->fc);
$xml = $this->fc->asXML();
print_r($xml);