| The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |

Home BasePack Streams Procedures and Functions ReadNextTagInStream |
|||||||||||||
| See also: ScanStreamForXMLTag, ReadStreamUntilTagList, ReadNextTagInTextFile, ReadNextTagInString | |||||||||||||
ReadNextTagInStream |
|||||||||||||
The function ReadNextTagInStream scans the stream AStream for the next XML tag, starting at or after the current stream position. The read tag is parsed, the tag attributes are returned in the variable parameter Attrib, the contents of the tag are returned in the parameter Contents. The function returns the index of the tag in the TagList. If the tag is not contained in the list, the index of the last tag of the tag list is returned. It is therefore recommended to include a dummy tag which indicates an invalid tag. The stream position after performing ReadNextTagInStream points to the first character after the read tag.
|
|||||||||||||