Re: including content

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 15.12.2005 9:49 Uhr, Adrian Nussbaum wrote:
> 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...

it helps, if you tell us, which errors :)

chregu
> 
> 
> adrian

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
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.