_XMLHasTag

Tests if XML has begin or end tag

#include "String and File String.au3"
_XMLHasTag( $sXML, $sTag [, $bTestBeginTag = True ] )

parameters

$sXML XML line
$sTag Tag to test (without <> signs)
$bTestBeginTag True = Test begin tag, False = Test end tag

return value

boolean value True = Has tag, False = Not

related

example

_XMLHasTag( "<tag>XML line content</tag>", "tag" ) ; True