lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Rodriguez <toxicaf...@yahoo.com>
Subject Re: Custom Doctype
Date Fri, 11 Jun 2004 11:11:41 GMT
Andreas Hartmann wrote:

> Eric Rodriguez wrote:
>
>>  it seems Lenya is totally ignoring my "customDoctype2xhtml.xsl" 
>> stylesheet.
>
>
> It seems that your parameter-doctype.xmap does not return
> the correct doctype for your URL.
>
> -- Andreas
>
In parameter-doctype.xmap I have defined the following:
 <map:actions>
    <map:action logger="sitemap.action.sourcetype" name="sourcetype"  
src="org.apache.forrest.components.sourcetype.SourceTypeAction">
        <sourcetype name="xhtml">
          <document-element namespace="http://www.w3.org/1999/xhtml" />
        </sourcetype>
       <sourcetype name="card">
          <document-element local-name="card" />
        </sourcetype>
    </map:action>
</map:actions>

"card" being of course the name of my doctype which corresponds to 
card.rng and card2xhtml.rng and to the namespace 
xmlns:card="http://anydomain.com/card" which I use on both the sample 
xml and in the xsl file.

But it doesn't work!!!!! aaaahhhhh

Well, as always any help is GREATLY appreciated.

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Mime
View raw message