forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <>
Subject Re: overriding part of a skin
Date Thu, 11 Dec 2003 22:50:38 GMT
Hi David,

David Crossley wrote:

> Robert Koberg wrote:
>>Dave Brondsema wrote:
>>>I don't think we should require common to be present in the
>>>src directory. Can the custom skins do something like:
>>No (XSL cannot do this), but you could do something like:
>><xsl:import href="document2html"/>
>>and use the catalog resolver to identify what should be imported.
> Good idea Robert. I have always wanted to try using the
> Catalog Entity Resolver for other tasks.
> Do you have an example of how to implement it?

If we are talking about Ant's xmlcatalog (as opposed to the xml-common's 
catalog resolver, right?), then something like this would do it:
<xmlcatalog id="myForrestCatalog">
   <entity publicId="document2html"
   <entity publicId="whatever"
   <entity publicId="configXml"

then use your xslt task like so:
<xslt ...>
    <xmlcatalog refid="myForrestCatalog"/>

It would be somewhat similar if not using ant for transforms and using 
the standard xml-commons catalog resolver (I will provide an example if 
needed). I have not been following forrest too closely as the site.xml, 
so if this does not work just say so.


> --David

View raw message