mohan
07-29-2003, 11:31 PM
hai antun,
regarding to my previous question, [assigning datapath dynamically],
i am assigning image to the resource like
<view resource="images/picture.jpg" />
but in my real application i stored image as images/picture2.jpg (var char) in mysql database.And also i am reading that image from JSP file (that returns html/xml).That xml (JSP)is something like
<person>
<user id="1" Fname="david" photo="images/picture2.jpg "/>
<user id="2" Fname="fleming" photo="images/picture5.jpg "/>
</person>
Now i want to fetch photo attribute from that jsp file
and assign to the resource attribute of the view using
datapath="dset:/dating[1]/user[1]/@photo
so how can do that
waiting for the resonse
with regards
mohan
regarding to my previous question, [assigning datapath dynamically],
i am assigning image to the resource like
<view resource="images/picture.jpg" />
but in my real application i stored image as images/picture2.jpg (var char) in mysql database.And also i am reading that image from JSP file (that returns html/xml).That xml (JSP)is something like
<person>
<user id="1" Fname="david" photo="images/picture2.jpg "/>
<user id="2" Fname="fleming" photo="images/picture5.jpg "/>
</person>
Now i want to fetch photo attribute from that jsp file
and assign to the resource attribute of the view using
datapath="dset:/dating[1]/user[1]/@photo
so how can do that
waiting for the resonse
with regards
mohan