|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
XML/XSLT question (don't know how to describe it)
I don't know quite how to put this ..
But instead of doing (for example) Code:
<artist> <name>Name</name> <Song>Song1</name> </artist> I would like to do this: Code:
<artist name="Name"> <Song>Song1</name> </artist> When I do this, how do access the name through XSLT? Thanks a lot. |
|
#2
|
|||
|
|||
|
Code:
<xsl:value-of select="@name"/>
__________________
Best regards Darren Last edited by DarrenJ : June 8th, 2003 at 01:59 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XML/XSLT question (don't know how to describe it) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|