FastInfosetReader.ReadAttribute
ReadAttribute()
Type:
Boolean.
True - next attribute read;
False - no more attributes.
Reads next attribute of XML element. After reading using method
FastInfosetReader.Read of the next node type
StartElement you can get access to attributes of a given element. Each time this method is run, it allows the next attribute to be read. After reading a next attribute, properties
FastInfosetReader.NodeType,
FastInfosetReader.Name,
FastInfosetReader.LocalName,
FastInfosetReader.Prefix,
FastInfosetReader.NamespaceURI,
FastInfosetReader.Value get values according to the read attribute.
Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).
Reader.OpenFile("c:/docs/data.xml"); While Reader.Read() Do If Reader.AttributeCount() > 0 Then While Reader.ReadAttribute() Do // Processing the attribute EndDo EndIf EndDo
|