Convert XML layout files

WARNING
All Magento CLI commands must be run by the file system owner.

Use this command to update your layout XML files if you update the corresponding Extensible Stylesheet Language Transformations (XSLT) stylesheet.

Command options:

bin/magento dev:xml:convert [-o|--overwrite] {xml file} {xslt stylesheet}

Where:

  • {xml file}—is the full path and file name of a layout XML file to convert (required)
  • {xslt stylesheet}—is the full path and file name of an XSLT stylesheet file to use for conversion (required)
  • -o|--overwrite—include this option to overwrite the existing XML file
recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c