OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Mark Stacey" <mark.stacey@armacsystems.com>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]