logo       

Re: Using relative URL's fo:external-graphic: msg#00019

Subject: Re: Using relative URL's fo:external-graphic
At 11:56 2003 05 20 -0400, Jeremy Nix wrote:

>Is this possible?  If so, can you give me an example because I cannot get them 
>to work with my current setup. 
>
>Ex: 
><fo:external-graphic text-align="right" height="40px" width="78.51px" 
>src="xml/logo.gif"></fo:external-graphic> 
>Where xml is a directory underneath the current application context.  The full 
>url would be: 
><http://myhost/myapp/xml/logo.gif>http://myhost/myapp/xml/logo.gif 


Yes it should be possible in theory, but I can't say exactly
how to do it in your case.

However, I note that the XSL spec requires that the value of
fo:external-graphic's src property [1] be a <uri-specification>
which [2] is:

  A sequence of characters that is "url(", followed by optional
  white space, followed by an optional single quote (') or double
  quote (") character, followed by a URI reference as defined in
  [RFC2396], followed by an optional single quote (') or double
  quote (") character, followed by optional white space, followed by ")".

So what you show above isn't valid.

paul

[1] http://www.w3.org/TR/xsl/slice7.html#src
[2] http://www.w3.org/TR/xsl/slice5.html#section-N8794-Property-Datatypes





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe