Return to Snippet

Revision: 37021
at December 2, 2010 17:09 by iroybot


Initial Code
<item type="form" id="searchform">
	<fragment id="method">post</fragment>
	<fragment id="id">searchform</fragment>
	<fragment id="state">init</fragment>
	<fragment id="enctype">application/x-www-form-urlencoded</fragment>
	<group id="fields">
		<item id="term" type="text">
			<fragment id="name">term</fragment>
			<fragment id="label">Your Search</fragment>
			<fragment id="value"/><fragment id="required">1</fragment>
			<fragment id="required">1</fragment>
			<fragment id="maxlength"/>
			<fragment id="size"/>
			<fragment id="readonly"/>
			<fragment id="description"/>
		</item>
		<item id="submit" type="submit">
			<fragment id="name">submit</fragment>
			<fragment id="label">Submit</fragment>
			<fragment id="value"/>
			<fragment id="required"/>
			<fragment id="required"/>
			<fragment id="maxlength"/>
			<fragment id="size"/>
			<fragment id="readonly"/>
			<fragment id="description"/>
		</item>
	</group>
</item>

Initial URL

                                

Initial Description
an example on how to build xml of a Zend_Form for XSLT use

Initial Title
Example XML Form Abstraction of a Zend_Form object

Initial Tags
php, xml

Initial Language
XML