|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: I need Tags...
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








