[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Concatinating a string with XML-tag
Hi.
I have a XML file that contains the node <id></id>. The XSL and XML files is in a filetree like this: | +-+Pictures (folder) | +-1.jpg | +-2.jpg | +-+XML (folder) +-XML-file.xml +-XSL-file.xsl
<img border="0" src="./../Pictures/2.jpg" width="400" /> NOW TO MY QUESTION: "./../Pictures/<xsl:value-of select="number(id)"/>.jpg" gets me the string, but how do I insert it as the src? And also, is it possible to check if the picture exist? Thnx in advance! Jimmy
|
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
|