Subject: Re: Acceding to the system From: Rick Geimer <Rick.Geimer@xxxxxxx> Date: Fri, 18 Feb 2000 09:45:33 -0800 |
Marta, Is the name attribute of your graphic element an entity? If so, it is probably defined at the top of your file like so: <!ENTITY pic01 SYSTEM "pic01.gif" NDATA GIF> If this is the case, then I think you can access the system identifier (i.e. the file name) using the unparsed-entity-uri() function of XSLT. Read up on it at the following URL: http://www.w3.org/TR/xslt#function-unparsed-entity-uri Rick Geimer National Semiconductor rick.geimer@xxxxxxx Marta Lobato wrote: > > Hello, > > I am Marta Lobato, a final year student at > Trinity College of Dublin. > > For my project I am using XSL and I have a question > that I would be so grateful if you can help me. > > I have the following element: > > <graphic name="pic01"> > > And my XSL has to write <img src="pic01.gif"> or > <img src="pic01.jpg"> The problem is that I have not > got the extension of the graphic, and if I access > the img directory I can find it out, but I do not > know if you can do it from the XSL file. > > Thank you in advance. > > Marta Lobato. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Acceding to the system, Arnold . Melm | Thread | <TD> </TD> background color, Elder, Larry |
RE: Doc Book...., sara . mitchell | Date | RE: List of web-site created using , Duane Nickull |
Month |