SYNOPSISint xmlWriterStartElement(xmlWriter writer, string name
[, string prefix [, string URI]] )
Parameters:
writer
- the xmlWriter
name
- the name of the new elementprefix
(optional) - the namespace prefix to use for
this element. Default is no prefix.URI
(optional) - declare the prefix
namespace
to be URI
Returns:
DESCRIPTIONxmlWriterStartElement()
starts a new element in writer
.
If this will be a simple 'start element-write content-end element'
pattern, you can do it with one call to xmlWriterWriteElement()
instead.
EXAMPLE<$ret = (xmlWriterStartElement($writer, 'item'))>
SEE ALSOxmlWriterWrite
,
xmlWriterEndElement
,
xmlWriterWriteElement