Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xml tag as hyperlink

Status
Not open for further replies.

mejiaks

IS-IT--Management
Jun 9, 2003
131
HN
I am trying to display a content of an xml file on a spry table on a web page. I generated the xml from a vfp table. so far i have been able to put the xlm on thw webpage using spry schema. and i display a repeat zone and show everything.

NOw I want the content of one field to be a link to a doc on the server. I know the tags for doing this


but how do i put this on the xml file in data section
 
I'm trying to do exactly the same thing! Any help would be greatly appreciated!!! Thank you...
 
actually I did it already. What you have to do is to put the path on another field in your table/xml file. of course this one shouldn't display on the spry table. if the file is on Docs dir, in this field you should put something like
Docs\MyFile.ext, if it is an url just put the url as it is.

Then on the spray table, on the field you want to convert it to hyper link, on design mode you go to properties and on the link field you put the name of the field of the spray dataset between brackets e.g. {myFieldThatStoresThePathToTheFile}

and voila!

at least this is the way i came up with. LOL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top