| Author |
Need a Tip to Convert XML Using XSL
|
Natalie Kopple
Ranch Hand
Joined: May 06, 2003
Posts: 320
|
|
I have prepared a XSL file to convert a XML file. The XSL file works for most of the XML nodes. I am stuck in converting one special type of XML node.
Let me show my XML input file and the XSL conversion file below. The node that I seek help is . How do I pick up the value of s:ref?
medicalNotes.xml file:
medicalNotes.xsl file:
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
You use "@" to specify the attributes axis. So in this case "@s:ref" would select that attribute.
|
 |
Natalie Kopple
Ranch Hand
Joined: May 06, 2003
Posts: 320
|
|
|
Thanks, Paul.
|
 |
 |
|
|
subject: Need a Tip to Convert XML Using XSL
|
|
|