5 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
19 parent::__construct();
26 if(!is_object($this->xmlResultSet))
53 foreach ($xmlResultSetRow->getColumns() as $value)
66 $this->
xmlSetDtdDef(
"<!DOCTYPE result PUBLIC \"-//ILIAS//DTD XMLResultSet//EN\" \"".ILIAS_HTTP_PATH.
"/xml/ilias_xml_resultset_3_7.dtd\">");
77 foreach ($this->xmlResultSet->getColSpecs() as $colSpec) {
78 $attr =
array (
"idx" => $colSpec->getIndex(),
"name" => $colSpec->getName());
89 foreach($this->xmlResultSet->getRows() as
$row)
XML Writer for XMLResultSet.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
xmlElement($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE)
Writes a basic element (no children, just textual content)
xmlEndTag($tag)
Writes an endtag.
__appendRow(& $xmlResultSetRow)
xmlHeader()
Writes xml header public.
__construct(& $xmlResultSet)
Create styles array
The data for the language used.
xmlDumpMem($format=TRUE)
Returns xml document from memory.