ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install xmlxml@name、要素テキストは #text で扱います。
config.@env と config.application.name は異なる
xml <file> [key|options] · xml dump <file>xml <file>xml <file> <key>要素、属性(@name)、#text を完全一致パスで表示する
xml dump <file>正規化した
-f <text|mask> [-k|-v]キーまたは値を検索する。* と ? を含む場合はマスクとして扱う
-w <key> : <value>値を書き込み、
-w <key> < <file>別ファイルから読み取った値を書き込む
-d <key>ドット区切りパスの値を削除する
-c現在の core では、正常に開いたファイルをすぐに $ で再利用できます。このモジュールがその拡張子に対するインストール済みハンドラーのうち最優先なら、ファイル名だけを入力してこのコマンドで開けます。これらは core の補助機能であり、明示的な形式は
-f はパスと値を検索します。キーだけなら -k、値だけなら -v を追加します。* または ? を含む検索語はマスクとして扱います。
-w は変更を直ちにファイルへ書き込みます。: の後ろに値を直接指定し、< <file> では別ファイルから値を読みます。-d は 1 つのドット区切りパスを削除します。
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install xml縮小パッケージをインストールします。ローカルリファレンスは含まれず、
install xml -mこの公開済みバージョンを正確に指定してインストールします。
install xml -v 1.1.5upgrade が互換性を確認し、必要な場合だけブロックを置換します。
upgrade xmlコアや他のモジュールに触れず拡張ブロックを削除します。
install xml -u例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
cd \sandbox\config | xml app.xmlconfig.@env production
config.application.name lil-shop
config.application.debug true
config.database.host localhost
config.database.port 3306app.xmlconfig.@env production
config.application.name lil-shop
config.application.debug true
config.database.host localhost
config.database.port 3306xml $ config.application.namelil-shopxml $ config.@envproductionxml $ -f "host" -kconfig.database.host localhostxml $ -f "localhost" -vconfig.database.host localhostxml $ -w config.database.port : 3307config.database.port 3307xml $ -d config.application.debugconfig.application.name lil-shop
config.database.host localhostxml $ -cValid XMLxml dump $<?xml version="1.0" encoding="UTF-8"?>
<config env="production">…</config>xml \sandbox\config\missing.xmlファイルが見つかりませんsandbox/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>