Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xslt sorting

 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<Employees>

******* mY XML ******
<Employees>
<employee>

<name >Sandeep Kumar Suman</name>
<date-of-birth>15/02/84</date-of-birth>
<city>Gorakhpur</city>
</employee>

<employee>
<name>Zaheer Khan</name>
<date-of-birth>19/12/86</date-of-birth>
<city>Lucknow</city>
</employee>
</Employees>
I want to pass the nodes like <name> or <date-of-birth> <city> to xsl
i was used transformer.setParameter("Node",node);
but if we pass value instead of node name it was working fine...
please help me
 
Paul Clapham
Sheriff
Posts: 21319
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to provide a description of the problem. What happens when you do that (whatever it is), what did you want to happen, and what's the difference?

And I don't see any XSLT code which uses that parameter. Perhaps the problem is in that code. Or perhaps not. Without seeing it, we can only speculate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic