xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linda Derezinski" <li...@derezinski.com>
Subject converting from Microsoft's XSL to xalan <xsl:node-name/>
Date Thu, 10 Feb 2000 02:04:33 GMT
I am converting xsl from Microsoft's implementation to xalan and have
everything working but finding a replacement for <xsl:node-name/>.  This
prints the current nodes' tag name.

The XML looks like this:
<DATABASE NAME="MyDB">
  <SECTION NAME="Sec1">
     <mynode ID="23" NAME="MyName">
       <child1>1</child1>
       <child2>2</child2>
     </mynode>
   </SECTION>
</DATABASE>

The output I am trying to create looks like this:
Data mynode, 23, "MyName"
  child1=1
  child2=2
End mynode

The XSL code to produce the data line in Microsoft looks like this:
Data <xsl:node-name/>,<xsl:value-of select="@ID"/>,"<xsl:value-of
select="@NAME"/>"


Mime
View raw message