|
SYNOPSIS
int xmlWriterStartAttribute(xmlWriter writer, string name
[, string prefix [, string URI]])
Parameters:
-
writer - the xmlWriter -
name - the name of the attribute -
prefix (optional) - the XML namespace prefix for
the attribute -
URI (optional) - the URI for the namespace
Returns:
- the bytes written (may be 0 because of buffering) or -1 in case
of error
DESCRIPTION
xmlWriterStartAttribute() starts writing a new attribute to
writer. If this will be a simple 'start attribute-write content-end
attribute' sequence, you can do it with one call to
xmlWriterWriteAttribute() instead.
EXAMPLE
<$ret = (xmlWriterStartAttribute($writer, 'price'))>
SEE ALSO
xmlWriterWrite,
xmlWriterEndAttribute,
xmlWriterWriteAttribute,
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|