xsl-list
[Top] [All Lists]

Getting desired node on template match

2002-09-06 08:12:34
 have some HTML file. I am converting them into WML.
It has some input like checkbox,radio,text and password .
I want to do is when template matches ="input[(_at_)type='submit']" then
I want to retrive value of every input type and send them to
server .
example (not syntactically correct. I am writing just to explain
the problem)
<form action="" otherattributes....>
 <input type="text" .....>
  <input type ="checkbox".....>
   <input type ="redio".....>
  <input type ="submit">
</form>

What I want on template match is to convert them in wml.
example
 <do ..attributes....>
  <go ..attributes.....>
 <postfield name= value=> for each input type and only one
postfield for input type ="radio" as they will have the same name
if they are in one group
 </go>
</do>
How can i do so that on template match="input[(_at_)type='submit']" it
traverses every input type between the same <form> and  </form>
and retrive name ,value.
thanks
alex


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list