topical media & game development
professional-xml-23-syntax-helphintalert.xml / xml
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ex="someURI">
<head>
<title>Help, Hint and Alert</title>
<xf:model>
<xf:instance>
<ex:data>
<ex:name />
<ex:value xsi:type="xs:integer"/>
</ex:data>
</xf:instance>
</xf:model>
</head>
<body>
<p>
<p><xf:input ref="ex:name">
<xf:label>Name: </xf:label>
<xf:help>Help for the name field</xf:help>
<xf:hint>Hint for the name field</xf:hint>
<xf:alert>Alert for the name field</xf:alert>
</xf:input></p>
<p><xf:input ref="ex:value">
<xf:label>Integer Value: </xf:label>
<xf:help>Help for the value field</xf:help>
<xf:hint>Hint for the value field</xf:hint>
<xf:alert>Alert for the value field</xf:alert>
</xf:input></p>
</p>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.