Win a copy of Spring Boot in Practice 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

What Does This XSL Snippet Do?

 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a snippet of XSL code. And the code is to tranform a XML document to HTML. I have problem to figure out what this XSL snippet exactly does. I do "not" need to know those HTML <tbody>, <tr>, <td>, style sheet stuff.

What I can understand is that the HTML table created will have two columns. The first column is labeled "In fulfillment of". I am lost when I read the XSL code for the second column to be created. I can see that the code needs to read the n1:inFulfillmentOf/n1 : order/n1:id and n1:inFulfillmentOf/n1 : order/n1:code and n1:inFulfillmentOf/n1 : order/n1:priorityCode.

and I also know that   is HTML non-break space; but I do not know what is going to look like in HTML. Would someone help me? Thank you.

 
Marshal
Posts: 27291
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It isn't possible to say "exactly" what that XSLT template does, because it calls some other templates which you haven't shown.

As for the second column in the HTML table generated from that XSLT, it's going to contain a lot of data. But if it were me, I would just run it and then try to understand the output.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic