ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install xmlxml@name、要素テキストは #text で扱います。
config.@env と config.application.name は異なる
xml <file> [key|options] · xml dump <file>xml <file> [key|options] | xml dump <file>Read and inspect
xml <file>xml <file> <key>要素、属性(@name)、#text を完全一致パスで表示する
xml dump <file>正規化した
-f <text|mask> [-k|-v]キーまたは値を検索する。* と ? を含む場合はマスクとして扱う
-w <key> : <value>値を書き込み、
-w <key> < <file>別ファイルから読み取った値を書き込む
-d <key>ドット区切りパスの値を削除する
-cdump は再生成した -w <key> : <value> は更新、< <file> は別ファイルからの入力、-d <key> は削除です。更新前にバックアップしてください。
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install xml縮小パッケージをインストールします。ローカルリファレンスは含まれず、
install xml -mこの公開済みバージョンを正確に指定してインストールします。
install xml -v 1.1.6upgrade が互換性を確認し、必要な場合だけブロックを置換します。
upgrade xmlコアや他のモジュールに触れず拡張ブロックを削除します。
install xml -u例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
xml config/app.xmlconfig.@env production
config.application.name lil-shop
config.application.debug true
config.database.host localhost
config.database.port 3306xml config/app.xml config.application.namelil-shopxml config/app.xml config.@envproductionxml config/app.xml config.database.port3306xml config/app.xml -f "config.database.*" -kconfig.database.host localhost
config.database.port 3306xml config/app.xml -f "localhost" -vconfig.database.host localhostxml config/app.xml -f "debug"config.application.debug truexml config/app.xml -w config.database.port : 3307config.database.port 3307xml config/app.xml -w config.application.name < config/from-value.txtconfig.application.name new-shop
xml config/app.xml -d config.application.debugconfig.@env production
config.application.name lil-shop
config.database.host localhost
config.database.port 3306xml config/app.xml -cValid XMLxml dump config/app.xml<?xml version="1.0" encoding="UTF-8"?>
<config env="production">
<application>
<name>lil-shop</name>
<debug>true</debug>
</application>
<database>
<host>localhost</host>
<port>3306</port>
</database>
</config>
xml config/app.xml unknown.keyPath not foundxml config/invalid.xml -cInvalid XMLxml config/missing.xmlFile not foundxml config/app.xml -w config.database.portValue required after : or <xml config/app.xml -d configXML data must have exactly one root elementxml config/app.xml -w config.missing.child : 5Parent path is not a collectionsandbox/config/app.xml例では、保護されたドキュメント用 /sandbox/ ワークスペースのファイルまたはディレクトリを使います。
<?xml version="1.0" encoding="UTF-8"?>
<config env="production">
<application><name>lil-shop</name><debug>true</debug></application>
<database><host>localhost</host><port>3306</port></database>
</config>