i want a label in my xsl which it's value be one from the xml, how can i do that?
A:
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.
Paulo Manuel Santos
2010-06-13 16:55:42
it doesn't work.the value in the theAdv is html text.
gil
2010-06-13 17:08:24
it would help if you would show a sample on the XML
Paulo Manuel Santos
2010-06-13 22:10:14
A:
the xml look like this:
TableAds> aaa moshe 2010-06-24 2010-06-25 lll a ג
gjadgdj
a b c d
2010-06-13i want do display the html that in the theAdv variable i think i should use label in the xsl but i don't know how
joe
2010-06-14 13:18:28