wolfatwork
10-15-2004, 06:30 AM
Can someone please help me out?
The imgsrc is retrieving from the database. I have verified that I get the correct parameter as text, but when I do this <text resource="$path{'detail/text()'}">, the graphic is not showing up at all, why?
I have one more question about generating a website by pulling information from database. The database stores all the html code. Is there a easy way to do that in LZX since it will not accept any code like <a href=""...
You have to change it to <a href=" in order for the link to show up in LZX environment.
Is there an easy way to tackle these kind of problems?
Thanks,
Jimmy
<canvas height="500">
<dataset name="eset"
autorequest="true" type="http"
src="/jtrh/homepage.asp?section=features"/>
<simplelayout axis="y" spacing="15"/>
<view x="20"></view>
<text datapath="eset:/features/content" text="$path{'detail/text()'}" width="250" multiline="true"/>
<view datapath="eset:/features/content">
<method event="onload">
this.resource=this.datapath.xpathQuery( 'imgsrc/text()' );
Debug.write (this.datapath.xpathQuery( 'imgsrc/text()' ));
</method>
</view>
</canvas>
The imgsrc is retrieving from the database. I have verified that I get the correct parameter as text, but when I do this <text resource="$path{'detail/text()'}">, the graphic is not showing up at all, why?
I have one more question about generating a website by pulling information from database. The database stores all the html code. Is there a easy way to do that in LZX since it will not accept any code like <a href=""...
You have to change it to <a href=" in order for the link to show up in LZX environment.
Is there an easy way to tackle these kind of problems?
Thanks,
Jimmy
<canvas height="500">
<dataset name="eset"
autorequest="true" type="http"
src="/jtrh/homepage.asp?section=features"/>
<simplelayout axis="y" spacing="15"/>
<view x="20"></view>
<text datapath="eset:/features/content" text="$path{'detail/text()'}" width="250" multiline="true"/>
<view datapath="eset:/features/content">
<method event="onload">
this.resource=this.datapath.xpathQuery( 'imgsrc/text()' );
Debug.write (this.datapath.xpathQuery( 'imgsrc/text()' ));
</method>
</view>
</canvas>