如何使用XSLT迭代xml中存在的动态数量的列

时间:2016-06-22 03:32:50

标签: xml xslt

我来自数据库的XML具有动态的列数和行数。我需要动态地迭代列并使用这些列和行构建表。

注意:我想对其他2-3个报告使用相同的样式表,其中列数因报告而异,并且不想对列名进行硬编码。下面是我生成的XML。任何人都可以帮我在xslt中动态地迭代列和行吗?

- (void)messageComposeViewController:(MFMessageComposeViewController *)controller
             didFinishWithResult:(MessageComposeResult)result {
   // Check the result or perform other tasks.

   // Dismiss the mail compose view controller.
   [self dismissViewControllerAnimated:YES completion:nil];
}

谢谢..

0 个答案:

没有答案