节点集与结果树片断

 
承清一下它们的分别:
 
节点集是xslt内部的一种类型,可以在样式表中直接以$var变量的方式引用.
 
而后者需要用例如:msxsl:node-set 函数使您能够将结果树片段转换成节点集,以这样的方式引用msxsl:node-set($var)/book.
它是非xpath数据类型(string,number,boolean,node-set).
Advertisements
此条目发表在Xml/Xslt分类目录。将固定链接加入收藏夹。

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s