Call trim on the tag as a trailing space breaks the end element.
XMLWriter::startElement
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::startElement — Create start element tag
Descrierea
Stil obiect-orientat
XMLWriter
bool startElement
( string $name
)
Stil procedural
bool xmlwriter_start_element
( resource $xmlwriter
, string $name
)
Starts an element.
Parametri
- xmlwriter
-
Numai pentru apelurile procedurale. Resursa XMLWriter care este modificată. Această resursă se obţine în urma apelării xmlwriter_open_uri() sau xmlwriter_open_memory().
- name
-
The element name.
Valorile întroarse
Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eşecului.
Vedeţi de asemenea
- XMLWriter::endElement - End current element
- XMLWriter::writeElement - Write full element tag
XMLWriter::startElement
marcuslists at brightonart dot co dot uk
16-Oct-2009 12:10
16-Oct-2009 12:10
