Validating Your Generated XML
If you have written a script to automatically generate your profiles in xml, validate your output as follows.
To validate your generated XML
-
Generate a profile from your code and save it in your current directory.
-
Copy this
.xsd
file into your current directory:/opt/elemental_se/web/public/schema/Live247Profile.xsd
. -
Run the following command against your generated profile:
xmllint --sax -noout -valid --schema Live247Profile.xsd <your xml filename>
The system returns a response indicating whether the profile does or does not validate.