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.
精彩评论