|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
XSLT element or function
I'm writing a XSLT and I need to know how to print or check the value of the current node that I'm in. For example:
Code:
my xslt document has a: <xsl:for-each select="*"> </xsl:for-each> and my xml document has a node: <Class>Biology</Class> I would like to print "Class". How do I do this? --DewBoy |
|
#2
|
|||
|
|||
|
try <xsl:value-of select="
. . . either . . . name(.) or local-name(.) . . . "/>
__________________
-james |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XSLT element or function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|