BCDA-APS / bluesky_training

Bluesky training, including instrument package
https://bcda-aps.github.io/bluesky_training/
Other
11 stars 0 forks source link

HOWTO for validating XML files for area detector HDF5 writer #296

Closed prjemian closed 2 months ago

prjemian commented 2 months ago

This is support documentation for the EPICS area detector HDF5 file writer. We could provide this info here because it is not so easy to find online and it is a FAQ about the area detector's HDF5 writer.

To validate an XML file, you'll need the associated XML Schema (xsd) file, then use this command:

xmllint --noout --schema path/to/local/schema/file.xsd  file_to_validate.xml

The NeXus manual has more information about using the EPICS area detector HDF5 writer.

prjemian commented 2 months ago

Might be more appropriate to move this issue to the NeXus definitions repository, so it appears with the example docs.

prjemian commented 2 months ago

Moving this issue to NeXus.