File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 18992
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xslt sorting