Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XML/XSL Help >Thread Next - Re: XML/XSL Help Re: XML/XSL HelpTo: NULL Date: 8/2/2006 5:12:00 PM
HugeBob wrote:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
The correct namespace URI for XSLT 1.0 and 2.0 is
http://www.w3.org/1999/XSL/Transform and not what you have (which is a
URI used in an outdated working draft before XSLT 1.0 became a
specification in 1999).
> <xsl:template match="/MLB">
> <xsl:for-each select="team/@name">
> <xsl:value-of select="text()"/><BR />
If you are iterating over attributes and what to output the value then
you need
<xsl:value-of select="."/>
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
