Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 xsl:variable 中使用 as="element(data)+" 和 as="element(data) " 有什么区别。如果使用“+”,则以下 XSL 解决方案有效,但当我使用“ ”时无效。有人可以澄清一下。
element(data)+
表示一个或多个 data元素的序列。也就是说,序列不能为空。
data
element(data)*
表示零个或多个`数据元素的序列。也就是说,序列可以为空。