TXmlNode() > Methods for attributes |
|
|
oTXmlNode:setAttribute()
Sets a named attribute and its value for an XML tag.
Syntax
:setAttribute( <cAttribute>, <cValue> ) --> cValue
Arguments
- <cAttribute>
- This is a character string holding the name of the XML attribute to
create or assign a value to.
- <cValue>
- The attribute value is set with the character string <cValue>.
Description
Method :setAttribute() assigns the value <cValue> to the XML
attribute <cAttribute>. If the attribute does no exist, it is created.
Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe