Hi,
[snip]
> I have follow xsl, but how can i show the tags with values in a HTML.
>
> <?xml version="1.0" encoding="UTF-16"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:template match="/">
> <FONT FACE="Arial">
> <xsl:apply-templates/>
> </FONT>
I take it you're trying to generate HTML? FONT element can't be the document element of an HTML document.
> </xsl:template>
> <xsl:template match="Config">
> <xsl:for-each select="NC_Gruppen/DE_TAB">
> <br>
> <I>
> <b>
> <u>
> <xsl:value-of
> select="VC_Name"/>
> </u>
> </b>
> </I>
> </br>
HTML BR element is EMPTY
> <br/>
> <xsl:for-each select="./DE_Abschnitt">
> <br/>
> <u>
> <TR>
HTML TR element cannot be the child of u element etc...
> <TD BGCOLOR="#F0F0F0">
> <xsl:value-of
> select="."/>
> </TD>
> </TR>
> </u>
> <br/>
Add the following here:
<xsl:for-each select="following-sibling::DE_Textbox[1]/*">
<xsl:value-of select="name()" /> = <xsl:value-of select="." />
<br />
</xsl:for-each>
Cheers,
Jarno - Delerium: Flowers Become Screens (Frequency Modulation mix)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- I need Tags...
- Asim Tozlu - Wed, 15 Jan 2003 08:55:43 -0500 (EST)
- <Possible follow-ups>
- Jarno . Elovirta - Wed, 15 Jan 2003 09:27:00 -0500 (EST) <=
|
|