Hi there, I've managed to show information stored in an OAI compliant
tool in my Lenya pub, by inserting a new pipeline under
publication-sitemap.xmap with several matches similar to the one below:
<map:match pattern="live/people/asg/profile">
<map:generate src="**** XML SOURCE ****"/>
<map:transform src="xslt/OAI2xhtml.xsl"/>
<map:serialize type="html"/>
</map:match>
The file OAI2xhtml.xsl is stored in the xslt dir in my publication and
contains a link to a CSS file like this:
<link href="../resources/shared/css/oai.css" type="text/css"
rel="stylesheet"/>
The problem is that the XSL transformations occurs but the CSS file is
not detected:
The requested document '/people/resources/shared/css/oai.css' with
document-id '/people/resources/shared/css/oai' does not exist.
I've looked into page2xhtml.xsl in order to see how page.css is called,
several parameters are passed on in publication-sitemap.xmap; one of
them, root, is them used to define the location of the file. My match is
very different from the one used to call page2xhtml.xsl and there seems
to be no way form me to pass those parameters into OAI2xhtml.xsl
dynamically. My oai.css file is located in the same dir as page.css, how
can I hard code the location of the file? I've tried several solutions
but always got the same result.
Thanks in advance, regards,
Rolando
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]