Hi David,
Thank you for responding with such detail and enthusiasm.
Your suggestion make sense but I still encountered some error messages that needed further guidance with.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="ns">
<xsl:template match="/">
<area>
<xsl:for-each test="/ns:html/ns:body/ns:div[@id='content']/ns:p/ns:strong">
<xsl:choose>
<xsl:when test="contains(.,'Firstname:')">
<firstname><xsl:value-of select="."/></firstname>
</xsl:when>
<xsl:otherwise>
<firstname>Unknown</firstname>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>>
</area>
</xsl:template>
</xsl:stylesheet>
XSLT Transformation output returned:
Error at xsl:for-each on line 10 of file:/C:/Documents and Settings/Jack/TestApplications/:
Attribute test is not allowed on this element
Error at xsl:for-each on line 10 of file:/C:/Documents and Settings/Jack/TestApplications/:
Element must have a "select" attribute
Any further suggestion would be appreciated.
Thanks again,
Jack