Topic: creating mailto: link from xsl (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 06-17-2004 19:27
First of, Im a newbie at xml/xsl. I was required to learn it for work, and Im the only one here that is doing it, so i have no one around here to turn to. Ive been trying to get a mailto: link to display properly, but once the document is processed, the best i could get was <a mailto:""></a> code: <facultylisting>
code: <xsl:for-each select="//facultymember">
|
Paranoid (IV) Inmate From: France |
posted 06-17-2004 19:41
gmisener: Welcome. |
Neurotic (0) Inmate Newly admitted From: |
posted 06-17-2004 20:45
I have put the following code in: |
Paranoid (IV) Inmate From: France |
posted 06-17-2004 20:50
that's almost it. The xsl:attribute can be used that way : code: <tag><xsl:attribute name="name_of_the_attribute">whatever you want</xsl:attribute> something else</tag> Whigh outputs : code: <tag name_of_the_attribute="whatever you want" > something else</tag> Now, it should be easy to get your mailto link. |
Obsessive-Compulsive (I) Inmate From: |
posted 06-17-2004 22:22
Right on!! Thanks for your help, it is GREATLY APPRECIATED. The way things have been going, im probably pretty sure ill have some other questions in the future, but Thanks for the help with this topic. |