[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Acceding to the system

Subject: Re: Acceding to the system
From: Rick Geimer <Rick.Geimer@xxxxxxx>
Date: Fri, 18 Feb 2000 09:45:33 -0800
acceding
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.