• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 28193
95
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.
reply
    Bookmark Topic Watch Topic
  • New Topic