Vollständiges Paket mit lokaler Referenz und allen veröffentlichten Modi installieren.
install xmlxml@name und Elementtext #text.
config.@env und config.application.name wählen unterschiedliche
xml <file> [key|options] · xml dump <file>xml <file>xml <file> <key>ein exaktes Element, Attribut (@name) oder #text per Pfad anzeigen
xml dump <file>normalisierten
-f <text|mask> [-k|-v]passende Schlüssel oder Werte finden; * und ? aktivieren eine Maske
-w <key> : <value>einen Wert schreiben und die
-w <key> < <file>einen aus einer anderen Datei gelesenen Wert schreiben
-d <key>einen Wert per Punktpfad löschen
-cdie
dump zeigt die neu erzeugte Fassung. In Base ändern -w <key> : <value> und < <file> Werte; -d <key> löscht ein Element. Vorher sichern.
Schreiben baut
Führen Sie die vorbereiteten Beispiele direkt auf der Seite aus. Die Ergebnisse sind vorab erstellt und werden im Browser angezeigt; auf dem Server wird kein Terminalbefehl ausgeführt.
Installieren Sie die aktuelle kompatible Version. Wählen Sie Base für den vollständigen Funktionsumfang oder Minimum für das reduzierte Paket; ein bereits installiertes Modul wird mit upgrade aktualisiert.
Base und Minimum sind zwei Pakete derselben aktuellen Modulversion.
Vollständiges Paket mit lokaler Referenz und allen veröffentlichten Modi installieren.
install xmlDas reduzierte Paket installieren. Die lokale Referenz entfällt;
install xml -mGenau diese veröffentlichte Version installieren.
install xml -v 1.1.6upgrade prüft Kompatibilität und ersetzt den Block nur bei Bedarf.
upgrade xmlErweiterungsblock entfernen, Core und andere Module bleiben erhalten.
install xml -uDie Beispiele sind kopierbar, werden aber nicht von der Website ausgeführt. Prüfen Sie Pfade, Rechte und destruktive Optionen.
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.xmlDas Beispiel verwendet eine Datei oder ein Verzeichnis aus dem geschützten Dokumentationsbereich /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>
Aktuelle stabile Version von @name und Elementtext #text.