Re: Re: [xsl] Re: WML input problem

Subject: Re: Re: [xsl] Re: WML input problem
From: "ashu t" <aashut@xxxxxxxxxxxxxx>
Date: 10 Jul 2002 15:54:18 -0000
thanks a lot Joerg
i used it and it is working fine but it is giving output as
<select name="whatever" ....>
<option value="whatever"></option>
<option value="whatever"></option>
<option value="whatever"></option>
then the text for options like
one
two
three
but it should be like
<option value="whatever">one</option>
<option value="whatever">two</option>
<option value="whatever">three</option>
should i used some thing else except <xsl:apply-templates> in between<option> and </option> and
i have changed the key for checkbox like
<xsl:key name="checkboxes" match="input[@type='checkbox']" use="@type"/>
because i think i can not use name it can be any thing in case of checkbox.though it is working but is it right?
and if i have a very simple html like
<html><head><title>simple</title></head>
<body>some text</body>
</html>
and if in style sheet i write
<xsl:template match="body">
<xsl:apply-templates/>
</xsl:template>
it is not giving output as *some text *
is there any different template rule for outputting plain text.
i thought <xsl:apply-templates/> will automatically put text in output tree and process other nodes
because in my html if some text is not enclose in between any tag and it is just in side of <body> it is not working but if i enclosed it in any tag for example <p> and </p> it is coming in output.


what can be the reason and solution
ashu
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.rediff.com/jobs


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



Current Thread