Also, don't forget the parse="xml" attribute on your xinclude element. I didn't see it in the original example you sent.
Regards, --mike On Wed, 21 Nov 2001, Bernhard Huber wrote: > 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: <[EMAIL PROTECTED]> > >>>For additional commands, e-mail: <[EMAIL PROTECTED]> > >>> > >>> > >> > >> > >>--------------------------------------------------------------------- > >>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: <[EMAIL PROTECTED]> > >>For additional commands, e-mail: <[EMAIL PROTECTED]> > >> > > > > > >--------------------------------------------------------------------- > >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: <[EMAIL PROTECTED]> > >For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>