Hi Steve,

Nunez Steve schrieb:
> Lenya Users (and Andreas),
> 
> I think I see the problem here. It appears that Lenya,
> at least in the default configuration, is placing the
> navigation elements into the XHTML via the XSLT.
> Looking at the included stylesheet, page2xhtml, the
> 'structure' of the page is constructed with a table to
> place the various navigation elements in the required
> locations.

the default publication uses tables for historical reasons,
changing this to pure CSS is on the to-do list. You can
just use your own page2xhtml.xsl that doesn't contain
any tables.

> This is one common way of structuring HTML pages, but
> not the only way. If you look at the source code for
> the Illation website, you'll see that there is *no*
> structure in the XHTML -- all of the positioning and
> layout of navigational elements is done with CSS.
>
> Has anyone else used Lenya in a configuration where
> the  entire page layout is controlled by CSS?

Yes, the last websites we created with Lenya use only
CSS for the layout. It's entirely up to you.


> As a more practical question, how exactly can we
> remove all of the default Lenya publication XSLT from
> the pipeline, and implement only a single
> transformation?

Does your publication use the default publication as a
template? In this case you can just override the page2xhtml.xsl
stylesheet in your publication.

-- Andreas

> 
> E.g.
> 
> XML --XSLT--> XHTML Strict ----> Browser (using CSS)
> 
> Regards,
>     - Steve Nunez
> 
> --- Andreas Hartmann <[EMAIL PROTECTED]> wrote:
> 
>> If you really want to use your XSLTs as they are,
>> you can remove the
>> pipelines you mentioned above and put your XSLTs in
>> your publication.
>>
>> But this is not the way Lenya was designed to be
>> used.
>> I'd recommend that you use the navigation framework
>> to generate your
>> navigation elements (in the case of the illation
>> website that would
>> be the horizontal menus at the top of the page and
>> the "Products" menus
>> at the right hand side of the page) and use the
>> XSLTs in the publication
>> to assemble the page.
>  
> 
> 
> 
>        
> ____________________________________________________________________________________
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
> today's economy) at Yahoo! Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to