开发者

how can i put in label a value from the xml

开发者 https://www.devze.com 2023-01-03 20:01 出处:网络
i want a label in my xsl which it\'s value be o开发者_JAVA百科ne from the xml, how can i do that?From your comment I think what you want is this:

i want a label in my xsl which it's value be o开发者_JAVA百科ne from the xml, how can i do that?


From your comment I think what you want is this:

<label text="{@theAdv}">

The {} allows you to evaluate XPATH expressions inside attribute values.

EDIT: if the text is inside an element and not an attribute you can use the following:

<label text="{text()}">

text() get's the inner text of the current element.

0

精彩评论

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