开发者

how can i put in label a value from the xml

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜