Next in thread → Next in month →

Re: [docbook-apps] alter href tag in HTML output

From
Bob Stayton <>
Date
2006-04-29T08:37:46+00:00
ID
000601c66b68$c9971390$6400a8c0@totoro
Thread
Re: [docbook-apps] alter href tag in HTML output
Hi,
Yes, it is possible with a customization of a certain template in a 
customization layer.  The template is named 'href.target', and it generates 
the content of the href attribute.  There are two versions: a simple one in 
html/html.xsl for single-file HTML output, and a complex one in 
chunk-common.xsl required for chunked HTML output.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Mark Stacey" <>
To: <>
Sent: Tuesday, April 25, 2006 3:37 AM
Subject: [docbook-apps] alter href tag in HTML output


> Hi,
>
> I'd like to generate JSP pages instead of HTML. I need the generated 
> files to be available within a web application that requires URL 
> re-writing in order to maintain session state.
>
> I've been able to modify the extension to .jsp from param.xsl, but I need 
> to modify how the <a href> tags are emitted.
> Instead of the standard <a href="xyz.jsp"> I need them to emit something 
> along the lines of <a href="<%=response.encodeURL("xyz.jsp")%>">
>
> Is this possible in Docbook, or should I look at some sort of 
> post-docbook processing through ANT?
>
> regards,
>
> -- 
>
> Kind Regards,
>
> Mark Stacey
> Armac Systems
> Ireland
>
> tel. +353 41 980 5930
> fax. +353 41 980 5939
> http://www.armacsystems.com
>
> This email and any files transmitted with it are confidential and the 
> property of Armac Systems.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →