On 18.05.2004 01:39, leon tian wrote:
Hi, thanks for such detailed reply! I got it with 1 more question. Some remote pages reference their resources to the remote server like href="/css.css", the others using full url like href="http://www.remote.com/css.css". I'm thinking using your method 1 plus 'xsl:choose' to test the first four letters of 'href' (==http?) and link it to the correct url. But I don't know how to test the first four letters. Could you tell me how although it is more likely a xsl question.
xsl: starts-with(whatToTest, 'http')
There is also a linkrewriter block in Cocoon that might do this job in a more sophisticated way:
http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions. Maybe you get it to work.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
