Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.1 KB

config-cli-subcommands-layout-xml.md

File metadata and controls

33 lines (23 loc) · 1.1 KB
group title functional_areas
configuration-guide
Convert layout XML files
Configuration
System
Setup

{% include config/cli-intro.md %}

Overview of layout XML conversion

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

For more information about layout XML files, see:

  • [Layout instructions]({{ page.baseurl }}/frontend-dev-guide/layouts/xml-instructions.html)
  • [Layout file types]({{ page.baseurl }}/frontend-dev-guide/layouts/layout-types.html)

Convert layout XML files

Command options:

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

here:

  • {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