Donald Brady escreveu:
Hi

I have a simple tabslider setup:


<tabslider width="${(parent.width / 3) - 15}" height="200" datapath="current_news:/news-items";>
 <tabelement datapath="news-item/title/text()">
   <text multiline="true" datapath="news-item/title/text()"/>
 </tabelement>
</tabslider>
try this instead (untested):

<tabslider width="${(parent.width / 3) - 15}" height="200" datapath="current_news:/news-items";>
<tabelement datapath="news-item" text="$path{'title/text()'}">
  <text multiline="true" text="$path{'body/text()'}"/>
</tabelement>
</tabslider>

The tabslider title bars get their appropriate title from each news-item in the xml. That works fine. But I can't get any text to display (the code above uses the same title xpath just to make sure that things were working).

All the doc examples with tabslider/datapath don't actually display anything in the sliders content are.

What am I doing wrong?

Thanks

Donald

Reply via email to