extracting link from elements content

S

smarto59

I'm using xml as an index for p2p system in local network. Each peer
accesses the xml file which is stored in the server through their web
browsers. Until know the peers can only view the shared objects
descriptions list using the xml file but how can I make a dynamic link
in the xml file for each object which is a combination of the IP of
the target host and the absolute path of the object in the host
machine?
For example:
<host>
<IP>212.23.33.188</IP>
<object>
<name>C:\sharedfiles\pic.jpg</name>
<size>22</size>
</object>
</host>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top