IrrXmlGetAttributeValueByName

section index

## NAME

IrrXmlGetAttributeValueByName - retrieves the Attribute-value

## SYNOPSIS

IrrXmlGetAttributeValueByName(*xmlreader.l, attributeName.s)

## INPUTS

*xmlreader.l | - | pointer to a xml reader
attributeName.s | - | Name of the Attribut to retrieve

## FUNCTION

Returns value of an attribute as String (Unicode !)

## EXAMPLE

       ;since it was a little bit tricky to get strings, you need here a PeekS()
       nodeValue.s = PeekS(IrrXmlGetAttributeValueByName(*xml,"class"),#PB_Unicode)

## RESULT

pointer to a Unicode-String.