User Tools

Site Tools


syntax:functions:isxml

IsXML(text)

Category: Web function


Description

This function returns TRUE if the given text is an XML object. Otherwise, it returns FALSE.


Arguments

ArgumentTypeDescription
text Text The string being tested as an XML object.

Return value type: Boolean (TRUE/FALSE).


Examples

isxml( 'XML' )  //Returns FALSE
isxml( '<XML>' )  //Returns FALSE
isxml( '<XML/>' )  //Returns TRUE


See also

syntax/functions/isxml.txt · Last modified: 2021/09/18 20:04 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki