Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从xsl中的另一个xml读取xpath_Xml_Xslt - Fatal编程技术网

从xsl中的另一个xml读取xpath

从xsl中的另一个xml读取xpath,xml,xslt,Xml,Xslt,我有一个存储xpath的xml文档 <Field col_header="Content ID " mapping="$contentTagRef/v41:contentId" /> <Field col_header="Channel (Mandatory)" mapping="v43:channelId" /> <Field col_header="HID (Mandatory)" mapping="v43:eventId" /> <Field co

我有一个存储xpath的xml文档

<Field col_header="Content ID " mapping="$contentTagRef/v41:contentId" />
<Field col_header="Channel (Mandatory)" mapping="v43:channelId" />
<Field col_header="HID (Mandatory)" mapping="v43:eventId" />
<Field col_header="TX Date (Mandatory)" mapping="$eventTimeStamp" />    
<Field col_header="TX Date (Mandatory)" mapping="$eventTimeStamp" />    

相反,我期待的是

Content1-xx-454

这在XSLT1.0的内置功能中是不可能的。您使用的是什么XSLT处理器?哦,好的,我使用的是1.0。有什么建议吗?你没有回答我的问题。您使用的XSLT处理器是什么?@JLRishe XSLT 1.0 Saxon哪个版本的Saxon?(为什么不是最新版本,它支持XSLT 2.0和3.0?)无论如何,Saxon支持
evaluate()
作为扩展—请查看产品文档。
 $contentTagRef/v41:contentId 
Content1-xx-454