开发者

Accessing Extension Objects

I've added an object to the XsltArgume开发者_Go百科ntList. I was wondering how I could access and display it in my transformation?

xslarg.AddExtensionObject("someKey", "someValue");

However, when I transform, I wan't to be able to display "someValue".

Any idea how? Thanks.


Extension objects are not intended to be used to pass values into the stylesheet. They are used solely to provide extension functions to the stylesheet (hence "extension object"). To pass data, use <xsl:param> and XsltArgumentList.AddParam.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜