File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT select in for-each question

 
Ben Klug
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a <for-each> loop where I select the node set with a key. This works fine, but I need to do the select with two keys.

is there a way, to do something like that?

<for-each select="key('key1'..) and key('key2'..)">

pseudo-code: select nodes where email==value and status==value2

Any Idea?
thanks
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try the for-each stmt that you mentioned with two key statements ?
If so did it work or not ?
I am trying to understand the issue with what you mentioned here.

Let us know.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic