Re: including content

Adrian Nussbaum <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
>> if i choose the first possiblity: can i put this "anywhere" in my
>> master.xsl-file? right?
>
> xinclude doesn't work in xslts, just in static xhtml pages produced  
> with
> the xhtml plugin.
ok. so i have to use <xsl:copy-of ?

> xinclude is relative to the including document, so you have either go
> from their (../../../ or from the systems root
> /var/www/xpure/fluxcms/lala.xml). There's no variable for your   
> docroot
> at this stage. One could think of some possibilities, but nothing  
> really
> shiny comes to my mind right now, since all need preparsing the  
> document
>  with php and libxml and adding the docroot. Not really nice
> performance-wise. But inc/bx/plugins/xhtml.php would be the place,  
> right
> where the xinclude() is done :)
if i include an xml into the master.xsl it doesn't make sense to set  
a relative url, does it?

i have created a "teaser.de.xhtml" in the admin-interface (doc  
root). ...and i don't get the clou how i have to set the path now...
is it really that complicated? (i know its late at this moment - but  
that's not my problem, really...)


thanx for your helpppp! ;)

adrian
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.