[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] selectin element and attribute for link
Hi! I am trying to figure out how select and element and then make the selected element to be a link. But the link value (where the link points) is not the elements name but instead it is the elements attribute. So if a have this kind of xml file: <Information> <Time>10/12/02</Time> <Size>22</Size> <Sender>Moilanen Jarkko</Sender> <Subject id="00223322334342">Xalan</Subject> <Subject2>Xsl- muutokset</Subject2> <Infofield> <Topic>Include hommat ei pelaa</Topic> </Infofield> </Information> And the result should be in html format like this: <a href="00223322334342.htm">Xalan</a> Now the part of xsl- file concerning this part is this: <a href="{Subject}.htm"> <xsl:value-of select="Subject" /></a> So could the wise and witty guru tell some hints about what to do =) ******************************************************************* Jarkko Moilanen *You are wise, witty, and wonderful, * Research/ ITCM *but you spend too much time * jarkko.moilanen@xxxxxx *reading this sort of trash. * www.uta.fi/~jm60697 * * GSM: +358 50 3766 927 * * ******************************************************************* XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|