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:
|PC en Woonplaats|
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:
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:
but how do I get the value of into the variable username ???
Hope anyone can help me...
0 · ·