![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Challenging transformation Challenging transformationTo: NULL Date: 2/16/2007 1:43:00 AM I'm working on a transformation, but can't seem to find the solution. I've the following data xml: <data> <fieldOrder> <c/><a/><b/><e/><d/> </fieldOrder> <boldFields> <a/><e/> </boldFields> <rows> <row> <a>a1</a><b>b1</b><c>c1</c><d>d1</d><e>e1</e> </row> <row> <a>a2</a><b>b2</b><c>c2</c><d>d2</d><e>e2</e> </row> </rows> </data> I'd like to transform this to an html table in which the fields are ordered according to the elements in <fieldOrder>. Furthermore, the text of fields defined in <boldFields> should be bold. The output should be like this: <table> <tr> <td>c1</td> <th>a1</th> <td>b1</td> <th>e1</th> <td>d1</td> </tr> <tr> <td>c2</td> <th>a2</th> <td>b2</td> <th>e2</th> <td>d2</td> </tr> </table> Does anyone have any ideas on this? | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
