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