two xml source files

2002-04-23 Thread Arda Balci
I have two xml files. One is for the menu content, the other is for the body content. I want to read from these two different files with one xsl file, and serialize html. The menu file is to be used with each page. I couldnt solve the problem. Do I need a special pipeline in the

RE: two xml source files

2002-04-23 Thread Luca Morandini
PROTECTED] Subject: two xml source files I have two xml files. One is for the menu content, the other is for the body content. I want to read from these two different files with one xsl file, and serialize html. The menu file is to be used with each page. I couldn't solve the problem. Do I need

Re: two xml source files

2002-04-23 Thread Bert Van Kets
At 14:15 23/04/2002 +0300, you wrote: I have two xml files. One is for the menu content, the other is for the body content. I want to read from these two different files with one xsl file, and serialize html. The menu file is to be used with each page. I couldn t solve the problem. Do I

Re: two xml source files

2002-04-23 Thread Venkatachalapathi
, 2002 4:54 PM Subject: RE: two xml source files Arda, you may use a number of solution: 1) Aggregate (using map:aggregate) those XML fiels and feed them to the XSLT transformer 2) Use document() function inside the stylesheet Best regards, P.S. Plain rext posting next time, please

RE: two xml source files

2002-04-23 Thread TREGAN Fabien
Yet another solution to your problem (the one I choosed, don't know if it's the fastest, but it's re-usable) : -1 pipe make menu.xml + menu.xsl - xhtml -2 another pipe make content.xml + menu.xsl - xhtml -3 another pipe make template.xml + cincludetransformer + html serializer - html and, of

Re: two xml source files

2002-04-23 Thread Derek Hohls
Slightly away from what you wanted but still useful- have a look at the 'Bonebreaker' tutorial at : http://www.cocooncenter.org/cc/documents/resources/navigation/index.html It also has an approach for a separate menu and body file (makes use of the document() function in xsl AFAIK) Derek

RE: two xml source files

2002-04-23 Thread Arda Balci
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: two xml source files You may also use this type if xsl processor can be used on this place xsl:param name=MenuFile/ at the top. and build the xsl params at run time using any xsl processor. Inside xsl you can refer with MenuFile/... so

RE: two xml source files

2002-04-23 Thread TREGAN Fabien
but I can't call the content from the menu.xml file using document() function. the document() function can be used in an xpath inside the xslt : template match=document(foo.xml)/root fabien. - Please check that your question

RE: two xml source files

2002-04-23 Thread Piroumian Konstantin
Sent: Tuesday, April 23, 2002 3:15 PMTo: [EMAIL PROTECTED]Subject: two xml source files I have two xml files. One is for the menu content, the other is for the body content. I want to read from these two different files with one xsl file, and serialize html. The menu file is t