/ Published in: XML
an example on how to build xml of a Zend_Form for XSLT use
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<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>