cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <berni_hu...@a1.net>
Subject Re: XInclude
Date Wed, 21 Nov 2001 00:28:16 GMT
Try using <map:transform type="log"/> after xinclude, this will show you 
the xml-content
after xinclude transformation, and before xinclude
Perhaps the xslt processing eats up the include element?
Use copyover.xsl to copy elements see in the documents stylesheet 
directory for copyover.

bye

Stephan Michels wrote:

>
>On Tue, 20 Nov 2001, Bernhard Huber wrote:
>
>>hi,
>>have included the <map:transform type="xinclude"/> in the pipeline of
>>your sitemap?
>>
>>something like that:
>>      <map:match pattern="simple-xinc.xml">
>>        <map:generate src="simple-xinc.xml"/>
>>        <map:label name="content"/>
>>        <map:transform type="xinclude"/> <!-- aktivate the xinlude
>>transfomer!! ->
>>
>>        <map:transform type="i18n"/>
>>        <map:transform src="simple.xsl"/>
>>        <map:serialize/>
>>      </map:match>
>>
>
>Yes, of course. That's not the fault, but thank you for the answer.
>
><map:when test="vscml2xml">
> <map:transform type="diagram-extractor"/>
> <map:transform src="stylesheets/vs/diagram-extractor.xsl"/>
>
> <map:transform type="mathml-extractor"/>
> <map:transform src="stylesheets/vs/mathml-extractor.xsl"/>
>
> <map:transform
>src="/vern/public/FIZ-Ablaufumgebung/ch/1/pc/xmltest/vscml/th-importer.xsl"/>
> <map:transform type="xinclude"/>
> <!--<map:transform
>src="/vern/public/FIZ-Ablaufumgebung/ch/1/pc/xmltest/vscml/vscth2html.xsl"/>-->
>
> <!--<map:transform type="extractor"/>
> <map:transform src="stylesheets/vs/svg-extractor.xsl"/>-->
> <map:serialize type="xml"/>
></map:when>
>
>
>
>
>
>>Stephan Michels wrote:
>>
>>>Hi,
>>>has anyone a working example for the xinclude transformer. My example
>>>doesnt'work:
>>>
>>>I want to include another xml file from my fs.
>>><mediablock>
>>><title>Abbildung: Beispieltitel</title>
>>> <media xmlns:xi="http://www.w3.org/2001/XInclude">
>>>  <xi:include href="/vern/public/music.third"/>
>>>  <parameter name="bla" value="blah"/>
>>> </media>
>>> <description>
>>> <block>
>>>  Erläuterner Text:
>>> </block>
>>> <block>
>>>  bla bla bla bla bla bla bla bla bla
>>> </block>
>>></description>
>>></mediablock>
>>>
>>>output:
>>><mediablock>
>>><title>Abbildung: Beispieltitel</title>
>>> <media xmlns:xi="http://www.w3.org/2001/XInclude"
>>>-----Here the output stopps-----------
>>>
>>>I couldn't find an error in the log files.
>>>
>>>I have also a question, must I use "file://"?
>>>
>>>Thanx, Stephan Michels.
>>>
>>>
>>>---------------------------------------------------------------------
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>>
>>>
>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message