View Single Post
  #3 (permalink)  
Old 03-20-2008, 09:51 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,722
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: How to access XML item through XSL issue

The "yweather" portion is not part of the element name, rather it is the namespace for that element, just as in your XSLT document "xslt" is the namespace for the XSLT elements. Try
Code:
<xsl:value-of select="condition@text" />
Also, I don't think there should be a slash between condition and @text in your code, that may be the problem.
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote