Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new to XSLT and 'value-of ' won't work.

Status
Not open for further replies.

JakeWi19

Technical User
Dec 15, 2013
1
US
Hi when i use[tt]xsl:value-of[/tt] it displays nothing.

Code:
<?xml version="1.0" encoding="us-ascii"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform">[/URL]

<xsl:output
indent="no" />

<xsl:template match="/">

<html>
<body style="font-family: monospace;">
<h1 style="color:red;">NOAA-NWS-ALERTS</h1>
<br/>
<hr/>
<br/>
<p>
<xsl:text>Sent:</xsl:text>
<xsl:value-of select="note"/>
</p>
</body>
</html>

</xsl:template>

</xsl:stylesheet>
 
Is there anything in the 'note' node to be selected?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top