[xsl] Problems passing attributes

Subject: [xsl] Problems passing attributes
From: "Hewko, Doug" <Doug.Hewko@xxxxxxxxxxxxxxx>
Date: Fri, 28 Sep 2001 09:01:43 -0400
Can someone please tell me what am I doing wrong? I need to create tables,
so I am mimicing HTML's tables. I am having problems passing the value of
the "border" attribute to the HTML equiivalent. In my HTML code, I see
"<table border="$border">  "


<table border="1">


<xsl:template match="table">
<xsl:if test="@border=''">
	<xsl:variable name="border">
<xsl:if test="@border!=''">
<xsl:variable name="border">
	<xsl:value-of select="@border"/>

<table border="$border;" cellspacing="0" cellpadding="0">
<xsl:apply-templates />

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread