File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xslt sorting" Watch "xslt sorting" New topic

xslt sorting

muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97

******* mY XML ******

<name >Sandeep Kumar Suman</name>

<name>Zaheer Khan</name>
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

Joined: Oct 14, 2005
Posts: 18110

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.
I agree. Here's the link:
subject: xslt sorting
Similar Threads
Extensive use of TreeWalker Interface in Xerces 1.4.1
Test Abilities
How to pass string instead of xml in xsl
Parameter passing in xslt transformation
xsd : defining array