Michael Broderick

Greenhorn
+ Follow
since Sep 23, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Broderick

Some how the complete prog got lopped off - here it is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match=".">
<data>
<xsl:apply-templates select=".//.[@changed = 'T']"/>
</data>
</xsl:template>
<xsl:template match=".[@changed]">
<xsl:copy>
<xsl:apply-templates select="@id"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@*">
<xsl:copy>
<xsl:value-of />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
20 years ago
I've inherited a working struts WAS 3.5.6 app and am trying to get it to build under WSAD 5 with no warnings or errors. This is a complete copy of an XSL prog that warnings with "styleshheet requires attribute: version" It's there I've compared the syntax with dozens of examples I've found here and elsewhere on the web - I'm sure it's simple (because I'm new) but what the hell? Thanks in advance for you help
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match=".">
<data>
<xsl:apply-templates select=".//.[@changed = 'T']" />
</data>
</xsl:template>
<xsl:template match=".[@changed]">
<xsl:copy>
<xsl:apply-templates select="@id" />
</xsl:copy>
</xsl:template>
<xsl:template match="@*">
<xsl:copy>
<xsl:value-of />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
20 years ago