Image and xslt


#1

I am evaluating the Aspose PDF and so far we are VERY happy with the results. I am using the XML with an XSLT .
the following code work.

<image file="C:\Inetpub\wwwroot\create-xmldata\about.gif" type="gif">

image>

But I want some thing else

I want some thing like the following .But the syntax is not correct.

<image file="<xsl:value-of select="@ID"/>">

i.e. I want to read the image path from the xml file

So plz help me


#2

Hi,

Thank you for considering Aspose.

I am not familiar with xslt but the following example works:

[xml]


C:/images/apple.jpg

[XSLT]

http://www.w3.org/1999/XSL/Transform">














#3

Thanks A lot forever .The code works