|
Subject: Re: [xsl] How to Process when Row data could be either elements or attributes From: Imrran Wahid <devguy2003@xxxxxxxxx> Date: Thu, 20 Mar 2003 14:17:59 -0800 (PST) |
This template
> <xsl:template match="*|@*">
> <td>
> <xsl:value-of select="normalize-space(text())"/>
> </td>
> </xsl:template>
did not actually worked. So I had to split into two
templates:
<xsl:template match="*">
<td>
<xsl:value-of select="normalize-space(text())"/>
</td>
</xsl:template>
and
<xsl:template match="@*">
<td>
<xsl:value-of select="normalize-space(text())"/>
</td>
</xsl:template>
Sorry about the confusion. It's quite a complex
stylesheet I have attempted, having limited experience
with XSLT. I still have a long journey ahead.
Imrran
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to Process when Row d, Imrran Wahid | Thread | [xsl] Looping through attributes.., Karl Stubsjoen |
| RE: [xsl] Looping through attribute, Passin, Tom | Date | Re: [xsl] Looping through attribute, David N Bertoni/Camb |
| Month |