xmlAssertValidityGetParserError (XML Creation & Manipulation)
- Purpose
- This command checks if the XML is well formed.
- Syntax
- xmlAssertValidityGetParserError( xml_string, VariableName )
- Target
- xml_string
- Value
- VariableName
- Return Value
- Returns 1 if it is a valid XML else, throws an error.
Example(s):
Click here to see the example