[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: I need Tags...

Subject: RE: I need Tags...
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 15 Jan 2003 16:27:55 +0200
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


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) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.