Subject: Re: [xsl] Re: WML input problem From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Wed, 10 Jul 2002 18:53:00 +0200 |
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.
<xsl:template match="text()"> <xsl:value-of select="."/> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: [xsl] Re: WML input problem, ashu t | Thread | Re: Re: [xsl] Re: WML input problem, ashu t |
RE: [xsl] Converting Strict XHTML +, Hunsberger, Peter | Date | [xsl] Grouping nodes by date, David Hirst |
Month |