User Tools

Site Tools


syntax:functions:isxml

Differences

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

Link to this comparison view

syntax:functions:isxml [2019/10/30 20:16]
dmitry created
syntax:functions:isxml [2021/09/18 20:04] (current)
craigt
Line 1: Line 1:
-=====isxml(text)=====+======IsXML(text) =====
 +Category:  Web function
  
-Returns true if the given text is an XML object.+\\  
 +=====Description===== 
 +This function returns TRUE if the given text is an XML object. Otherwise, it returns FALSE.
  
-Namespaces are not supported.+\\  
 +=====Arguments===== 
 +^Argument^Type^Description^ 
 +|text  |Text  |The string being tested as an XML object |
  
-**Example** +**Return value type:** Boolean (TRUE/FALSE). 
-^  Expression  ^  Result  ^ + 
-isxml("XML"  |  FALSE  | +\\  
-isxml("<XML>"  |  FALSE  | +=====Examples===== 
-isxml("<XML/>")  |  TRUE  |+ 
 +  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)]]
  
-**See also** 
-  * [[syntax:functions:isjson]] 
-  * [[syntax:functions:xmlvalue]] 
syntax/functions/isxml.txt · Last modified: 2021/09/18 20:04 by craigt