Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 2.75 KB

config-cli-subcommands-layout-xml.md

File metadata and controls

51 lines (40 loc) · 2.75 KB
layout group subgroup title menu_title menu_node menu_order version github_link redirect_from
default
config-guide
04_CLI
Convert layout XML files
Convert layout XML files
700
2.0
config-guide/cli/config-cli-subcommands-layout-xml.md
/guides/v1.0/config-guide/cli/config-cli-subcommands-layout-xml.html

Overview of layout XML conversion

This command enables you 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:

First steps

{% include install/first-steps-cli.html %} In addition to the command arguments discussed here, see Common arguments.

Convert layout XML files

Command options:
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

Related topics