http://www.4d.com/docs/CMU/CMU00724.HTM
[CODE]
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="node.xsl"?>
<root>
<abbr title="DOM For N00BS"><em>DOM</em></abbr>
</root>
[CODE]
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- New document created with EditiX at Tue May 19 19:20:05 CEST 2009 -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" indent="yes"/>
<xsl:variable name="lf" select="'
'"/>
<xsl:template match="/">
result<xsl:value-of select="$lf"/>
from <xsl:value-of select="name(//abbr)"/><xsl:value-of select="$lf"/>
child<xsl:value-of select="$lf"/>
node <xsl:value-of select="name(//abbr/child::*)"/>
content <xsl:value-of select="//abbr/child::*"/><xsl:value-of select="$lf"/>
attribut<xsl:value-of select="$lf"/>
node <xsl:value-of select="name(//abbr/attribute::*)"/>
content <xsl:value-of select="//abbr/attribute::*"/><xsl:value-of select="$lf"/>
</xsl:template>
</xsl:stylesheet>
result
from abbr
child
node em
content DOM
attribut
node title
content DOM For N00BS