Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What Does This XSL Snippet Do?

 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • 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.

 
Paul Clapham
Sheriff
Pie
Posts: 20950
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic