• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

XSLT using a key  RSS feed

 
Greenhorn
Posts: 16
  • 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: 16
  • 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: 16
  • 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: 724
5
  • 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:
 
Paper beats rock. Scissors beats tiny ad.
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!