Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

inserting an image in a Stylesheet table

I have an XML database wich I display using an xsl stylesheet.
the Database consists of Names and adresses of our employees. I'd like to include a picture of every employee in the table. I used the following code to setup the stylesheet:

[code=pre]
<?xml version="1.0"?>





























Achternaam Voornaam Adres PC en Woonplaats Tel. werk Tel. Prive Tel. Mobiel E-mail
,





[/code]
Now I have a directory named pic wich contains the Pictures of My employees. I named them after their usernames so every picturename is unique. I can get the name of the picture by inserting the following code in the table:
[code=pre]
pic/.jpg
[/code]
but I don't want to insert the name of the picture but the picture itself.

[size=4]My question is:[/size]
How can I insert the image in this table?
It would be something like this:
image
but how do I get the value of into the variable username ???

Hope anyone can help me...

;-)
-mac-
mailto:programmersheaven@mac-doggie.nl
the Netherlands...

Sign In or Register to comment.