Hi
Bit of a tricky question (I think). I am trying to print stickers/labels using a process by which I am converting XML to HTML (using XSLT) then convert to .PDF then print. The stickers themselves are all 1X1 and 64 can fit on the page (8 rows with 8 columns). Each set of stickers will have a header sticker with slightly different info. I have formatted the XML input to have a header node and a collection of child nodes associated which are the stickers themselves.
Conceptually I would like to build a table in html and for each header or sticker build a 1X1 inside a <td>. The trick will be to track 1 through 8 across (then need a new <tr> and also track the vertical (need a page break). There is no limit to how many stickers there can be. Since XSLT variable declarations are essentialy immutable and don't behave like counters, how do I track the X,Y positions and build this out in an XSLT without having to create 64 tables, etc... I was looking at calling a C# method but this seems to be a last resort.
Thanks
Bit of a tricky question (I think). I am trying to print stickers/labels using a process by which I am converting XML to HTML (using XSLT) then convert to .PDF then print. The stickers themselves are all 1X1 and 64 can fit on the page (8 rows with 8 columns). Each set of stickers will have a header sticker with slightly different info. I have formatted the XML input to have a header node and a collection of child nodes associated which are the stickers themselves.
Conceptually I would like to build a table in html and for each header or sticker build a 1X1 inside a <td>. The trick will be to track 1 through 8 across (then need a new <tr> and also track the vertical (need a page break). There is no limit to how many stickers there can be. Since XSLT variable declarations are essentialy immutable and don't behave like counters, how do I track the X,Y positions and build this out in an XSLT without having to create 64 tables, etc... I was looking at calling a C# method but this seems to be a last resort.
Thanks
Comment