Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

XSLT using a key  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i am having an issue with this key code. I have a loop and it should print the information for the employee element from every department and it will be placed in the corresponding department. I have the everything printing except for all the information about the employee from each department. My xsl code is :

And my xml code you can see here https://codeshare.io/aJ8Q1q .
What am i doing wrong here?
 
zach pass
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unsure why the post didnt post the correct code here it is

 
zach pass
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK nevermind. My xsl code is here https://codeshare.io/G6wx9k and my xml code is here https://codeshare.io/aJ8Q1q
 
Ranch Hand
Posts: 717
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Line #59 in the xsl (line # according to the codeshare listing) should be read like this:
 
What kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad:
Download Free Java APIs to Work with Office Files and PDF
htttp://www.e-iceblue.com/free-apis.html
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!