tags:

views:

26

answers:

2

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
it doesn't work.the value in the theAdv is html text.
gil
it would help if you would show a sample on the XML
Paulo Manuel Santos
A: 

the xml look like this:

TableAds> aaa moshe 2010-06-24 2010-06-25 lll a ג

gjadgdj

a b c d

2010-06-13

i 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