| 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 Stringl Procedures and Functions DetectNextTagInString |
|||||||||||
| See also: ReadNextTagInString | |||||||||||
DetectNextTagInString |
![]() |
||||||||||
The function DetectNextTagInString scans the string InString for the next XML tag identfier (either closing or opening tag), starting at or after the position StartIdx. The read tag is parsed, and the tag attributes are returned in the variable parameter Attrib. The positions of the beginning and the end of the tag are returned in the variable parameters StartIdx and StopIdx. 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 variable parameter IsClosingTag returns TRUE if the tag is a closing tag, otherwise a FALSE value is returned.
|
|||||||||||