Ticket #259 (closed Improvement)

Opened 3 years ago

Last modified 3 years ago

Provide server path (e.g. http://localhost:8888) to xslfo stylesheets

Reported by: bruno@… Owned by: somebody
Priority: Minor Milestone:
Component: Frontend (wiki) Version: 1.5
Keywords: Cc:

Description

[jira2trac import : issue created on March 23, 2006 9:06:42 AM CET http://issues.cocoondev.org/browse/DSY-259 ]

See summary.

This is needed when the XSLs want to:
 * refer to extention URLs for generating images (e.g. for rendering an equation)
 * refer to the data of a part for inclusion, e.g. for SVG images

(or equivalent solution)

Change History

comment:1 Changed 3 years ago by paul

  • Status changed from new to closed

[jira2trac import : comment created by bruno on June 1, 2006 3:15:21 AM CEST]

Doctype XSLs are now supplied with the page context too, and so have access to the server via there.

For example:
<xsl:variable name="server" select="/document/context/request/@server"/>

Note: See TracTickets for help on using tickets.