cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Romanov <...@nizhny.ru>
Subject Re[2]: [C2] How to create a disk path from the URL ?
Date Mon, 09 Apr 2001 07:57:35 GMT
Hello Giacomo,

GP> In the setup method you usually do a:

GP>     InputSource src = resolver.resolveEntity(null, src);
GP>     String      systemID = src.getSystemId();

GP> You get the external form of an URL of the src attribute in variable
GP> systemID.

thanks. doesn't work (as I was expecting 8))
Say i have <img src="/images/1.gif"/> - then I want to have
"d:/hosting/mysite/images/1.gif" to be able to open image and
determine it's size, but I got only "file:/images/1.gif" after
that manipulations 8( Where's the context stored? How to get this
"D:/bla-bla-bla" prefix while inside the transformer?

GP> Giacomo
-- 
Cheers...
RiO                          mailto:rio@nizhny.ru



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message