SymbolicXMLQ [expr]
returns True if the expression expr matches some basic patterns for a SymbolicXML expression and False otherwise.
SymbolicXMLQ [expr,True ]
performs a complete test on expr to determine if it is a well-formed SymbolicXML expression.
SymbolicXMLQ [expr,False ]
is equivalent to SymbolicXMLQ [expr].
SymbolicXMLQ
SymbolicXMLQ [expr]
returns True if the expression expr matches some basic patterns for a SymbolicXML expression and False otherwise.
SymbolicXMLQ [expr,True ]
performs a complete test on expr to determine if it is a well-formed SymbolicXML expression.
SymbolicXMLQ [expr,False ]
is equivalent to SymbolicXMLQ [expr].
Details and Options
- To use SymbolicXMLQ , you first need to load the XML Package using Needs ["XML`"].
- This is not a guarantee that the document is well formed, nor does it give hints about validation.
Examples
Basic Examples (1)
The {attribute->value} portion of the SymbolicXML statement is malformed. SymbolicXMLQ returns False :
With a correctly formed option, SymbolicXMLQ returns True :