User Tools

Site Tools


syntax:functions:isxml
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
syntax:functions:isxml [2021/09/18 20:04] (current) craigt
Line 1: Line 1:
 +======IsXML(text) ======
 +Category:  Web function
 +
 +\\ 
 +=====Description=====
 +This function returns TRUE if the given text is an XML object. Otherwise, it returns FALSE.
 +
 +\\ 
 +=====Arguments=====
 +^Argument^Type^Description^
 +|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:isemail|IsEmail(email_addr)]]
 +  * [[syntax:functions:isjson|IsJSON(text)]]
 +  * [[syntax:functions:xmlvalue|XMLValue(XML_text, XPath)]]
  
syntax/functions/isxml.txt · Last modified: 2021/09/18 20:04 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki