WML <prev> tag
Complete WML Reference
The <prev> task represents the action of returning to the previous card
visited. If no previous URL exists, specifying <prev> has no effect.
Note: The content between the <prev>..</prev> tags is
optional. If you do not specify any content, you must use <prev/>.
Syntax
<prev>
..<setvar>..
</prev>
|
Attributes
| Attribute |
Value |
Description |
| class |
cdata |
Sets a class name for the element. The class name is case
sensitive. An element can be connected to multiple classes. Multiple class
names within the class attribute are separated by white space |
| id |
id |
Sets a unique name for the element |
Examples
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card>
<p>
<do type="accept" label="Back">
<prev>
<setvar name="x" value="30"/>
</prev>
</do>
</p>
</card>
</wml>
|
A <prev> tag with no content:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card>
<do type="accept" label="Back">
<prev/>
</do>
<p>
Hello World!
</p>
</card>
</wml>
|
Complete WML Reference

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file, Excel 2007, XBRL, or Web services data.
Then it transforms data instantly or auto-generates royalty-free data integration code for recurrent conversions.
Download a free, fully functional 30-day trial to experience the following features:
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
Download a fully-functional trial today!
|
|
|
|