This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes xslt sorting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xslt sorting" Watch "xslt sorting" New topic
Author

xslt sorting

muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97
<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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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.
 
jQuery in Action, 2nd edition
 
subject: xslt sorting
 
Similar Threads
Parameter passing in xslt transformation
How to pass string instead of xml in xsl
xsd : defining array
Extensive use of TreeWalker Interface in Xerces 1.4.1
Test Abilities