Because XSLT was created to allow generic XML-to-XML transformations , it is a natural choice for both inspecting configuration syntax, which the Junos OS ca n easily express in XML, and for generating errors and warnings.
XSLT includes powerful mechanisms for finding configuration statements that match specific criteria.