如何将外部值传递给xsl文件? [英] How to pass external value to xsl file?

查看:86
本文介绍了如何将外部值传递给xsl文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是我的TEST.XML文件

Below is my TEST.XML file


<catalog>
  <cd>
    <package>A</package>
    <id>1</id>
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
    <price>10.90</price>
    <year>1985</year>
  </cd>
  <cd>
    <package>A</package>
    <id>1</id>
    <title>Hide your heart</title>
    <artist>Bonnie Tyler</artist>
    <country>UK</country>
    <company>CBS Records</company>
    <price>9.90</price>
    <year>1988</year>
  </cd>
</catalog>

推荐答案

在调用之前使用xsl对象进行一些操作转换
some manipulations with xsl object before call Transform


这篇关于如何将外部值传递给xsl文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆