Re: including content

Adrian Nussbaum <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
hi

>> if i include an xml into the master.xsl it doesn't make sense to  
>> set  a
>> relative url, does it?
>
> yes it does perfectly make sense if you look from xsltprocessor  
> point of
> view, which is outside of the php context and only knows about the
> actual filesystem
yes of course it makes sense... sorry, i didn't understand it the  
right way (sometimes, almost everytime, i feel anyway like don't- 
understanding-anything...). i didn't realize that the master.xsl is  
always the same and doesen't change if another ressource is selected...


> your document() instruction has to look something like this:
>
> document("../../data/teaser.de.xhtml")
after i understood that it has to be relative to the master.xsl it  
worked ;)


but now i've just another/further question to that subject:
- if i want to include nearly on every ressource another file i have  
to use <xinclude, right? and to put it in the .xhtml file? right, too?
- if so: where do i have to put the xinclude command? i get errors  
everytime i try...


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.