Add image to pdf through xsl-fo using XML attribute value

Dante16

New Member
I'm making a PDF from an XMl doc using XSL-FO. I need to import images using their names that are inside the XML doc.Example XML:\[code\]<newAlbums> <album cover="blaimage.jpg"/></newAlbums>\[/code\]I need to do this through a similar statement:\[code\]<fo:external-graphic src="http://stackoverflow.com/questions/10674857/({})/>\[/code\]What XPath do I need to put inside the src attribute to import the image?Thanks for the help this has been killing me.
 
Back
Top