In article <lt********************************@4ax.com>,
Eli <El**@another.com> wrote:
Ciao,
avrei bisogno di un aiuto. Non conoscendo xml mi servirebbe sapere
come "attaccare" un link ad uno di questi elementi:
<?xml version="1.0" encoding="iso-8859-1"?>
<trips>
<trip name="01-01-2005">
<description>The incredible variety of Napa Valley
includes both natural beauty as well as a stunning array of
vineyards, parks, and estates. While best known for its wine, this
region offers far more, including world class restaurants and cultural
events.</description>
<cost>1230</cost>
<tapes>2</tapes>
<image> images/bigsur.jpg</image>
</trip>
</trips>
nelle description c'è un testo dove vorrei inserire un link tipo html
href
Come devo modificare il tag?
Grazie
If you want a real html link, you'll have to transform the document;
otherwise, in theory, something like this should work:
<trips>
<trip name="01-01-2005">
<description xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple"
xlink:href="http://www.napavalley.com" >The incredible variety
of Napa Valley includes both natural beauty as well as a stunning array
of vineyards, parks, and estates. While best known for its wine, this
region offers far more, including world class restaurants and cultural
events.</description>
<cost>1230</cost>
<tapes>2</tapes>
<image> images/bigsur.jpg</image>
</trip>
</trips>
.....this is simply from
http://www-128.ibm.com/developerwork...brary/x-xlink/
...but I've got to admit that on my mac at least, I never managed to get
a browser to understand it.