We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
<?xml version="1.0" standalone="no"?> <!DOCTYPE swatml SYSTEM "http://swat.silverorange.com/swatml1.dtd"> <swatml> <widget class="SwatContentBlock"> <property name="content" type="string">Hello, World!</property> </widget> </swatml>
<?php require_once 'Swat/SwatAutoloader.php'; SwatAutoloader::loadRules('autoloader-rules.conf'); $ui = new SwatUI(); $ui->loadFromXML('hello-world.xml'); $ui->display(); ?>