xsl-list
[Top] [All Lists]

RE: How to use an image path passed in an XML file to use it on an XSL

2005-04-04 01:48:59
 
I tried to read the xml line which is generated via a program 
in this way,

<staffPhoto> url('file:C:///staff/beena.jpg') </staffPhoto>

In my xsl i wrote the below line to read the above xml line

<fo:external-graphic src="staffPhoto"/>

What is wrong in this ?

It should be 
    
     src="{staffPhoto}"

(although you might still have problems. I would expect
'file:///C:/staff/beena.jpg')

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>