Hi,

I have following type of div tag in one xhtml file where i have few user defined tags with attributes
<div id="_test" class="http://localhost:8080/links/contacts_links">
<events eventid="5834" userid="855" result_start="0" result_stop="-1" params="null">
<myevent eventid="5833" link="afdsfd 2006-01-30 05:00:00 - 2006-01-30 12:30:00 by
membo" rank="1.0"/>
<myevent eventid="5831" link="Ukraine is great" rank="1.0"/>
</events>
</div>

We need xhtml in format as given below

<div class="dspcont2">
<br>
<a href="www.abc.com\<myevent's link attribute>">[myevent's eventid attribute]</a>
</div>

Can anyone explaine me how to write xslt for accessing attribute and putting some attribute as value and some as attribute?