Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Creating hyperlinks with arguments from XML data by using XSL transformation [Thread Next] Re: Creating hyperlinks with arguments from XML data by using XSL transformationTo: NULL Date: 5/3/2004 12:30:00 PM Thanks for the answer. I really appreciate that.
Sincerely,
"Oleg Tkachenko [MVP]" <oleg@NO!SPAM!PLEASEtkachenko.com> schrieb im
Newsbeitrag news:uk1peQgLEHA.1156@T......
> Muhammed Inam wrote:
>
> > Suppose I have the following recurring XML data:
> > <sgv>
> > <items>
> > <item id="5400" ugl_nr="1122" description="....."> </item>
> > <item id="5420" ugl_nr="112222" description="....."> </item>
> > <item id="5421" ugl_nr="1332" description="....."> </item>
> > </items>
> > </sgv>
> >
> > And, I like this XML data to be converted into:
> >
> > .. HTML Tags ..
> > <table>
> > <tr>
> > <td><a href="bes:desc?id=5400&ugl_nr=1122"> {description}
</a></td>
> > <td><a href="bes:desc?id=5420&ugl_nr=112222"> {description}
> > </a></td>
> > <td><a href="bes:desc?id=5421&ugl_nr=1332"> {description}
</a></td>
> > </tr>
> > </table>
> >
> >
> > ´Don't worry about "bes:desc" protocol which si being handled by the
client
> > app. Client app uses MSXML4SP2.
> >
> > So, how can I do this? (Especially, link portion)
>
> <xsl:template match="item">
> <td><a href="bes:desc?id={@id}&ugl_nr={@ugl_nr}"><xsl:value-of
> select="@description"/></a></td>
> </xsl:template>
>
> --
> Oleg Tkachenko [XML MVP, XmlInsider]
> http://blog.tkachenko.com
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
