Parse HTML Text Object Parse HTML Text Object
Version 2.00

 


Description

Sequential returns the next attribute name from the last parsed text string returned by GetParsedText if it is a tag.

Syntax

object.GetTagAttributeName

Remarks

GetTagAttributeName allows you to sequential step through the attributes of a tag string returning the attribute name.  For example, the following code illustrates how GetTagAttributeName can be used to returns all the attributes of a tag and there value assuming the last parsed text string returned is a tag.

strAttributeName = objParseHTMLText.GetTagAttributeName
While strAttributeName <> ""
  Response.Write "Attribute: " & strAttributeName
  Response.Write " Value: " & objParseHTMLText.GetTagAttributeValue & "<br>" & vbCRLF
  strAttributeName = objParseHTMLText.GetTagAttributeName
WEnd


Copyright (c) 1999-2002 by Cimarron Ravine, L.L.C.
All Rights Reserved.