开发者

how to stores string in an array or Sequence?

Im using xslt 1.0. I have to store the string values in an array/sequence. Is there any way to declare a string array/sequence and store values in it?? thanks in开发者_如何学Python advance.


Consider using XSLT 2.0. It has much better support for such data types.


XSLT does not have the same kind of variable support as other languages. An xsl:variable can only store a string, a number, a boolean value, or a node set. You can however create an XML array or sequence and use the key() function to perform a lookup:

http://www.ibm.com/developerworks/library/x-xsltip.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜