Thank you both, I am giving more detail: I would like to see your approach, I tried to use the param but I was unsuccessful. I used the cocooncenter.org navigation menu example as a pointer.
I can pass the parameter contaning the menufile name to the xsl file (the parameter is defined on the sitemap) the sitemap contains: <map:match pattern="mutekv112/*.html"> <map:generate src="mutekv112/{1}.xml"/> <map:transform src="mutekv112/stylesheets/page2html01.xsl"> <map:parameter name="menu-file" value="mutekv112/menu.xml"/> </map:transform> <map:serialize type="html"/> </map:match> but I can't call the content from the menu.xml file using document() function. I just want to process the menu.xml content to the *.html file. The menu.xml simply contains: <content> <main label="Corporate" href="profile.html"></main> <main label="Industry" href="industry.html"></main> <main label="Trading Philosophy" href="tradingp.html"></main> <main label="Trading Strategy" href="strategy.html"></main> <main label="Markets" href="markets.html"></main> <main label="Advisory Services" href="topics.html"></main> </content> what should be the correct syntax on the page2html01.xsl to display the menu.xml content next to the *.xml content? Or should I use something else? I just received the third approach from fabien, I will take a look at that also, Arda Balci It Consultant -----Original Message----- From: Venkatachalapathi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:45 PM 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 on.. Actually I don't know the exact situation where you are using. But in one of our project we solved this using param pattern. If this is the way you want I will elaborate the things... Sorry for incontinence cause if this approach diverts.. GVPathi ----- Original Message ----- From: "Luca Morandini" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 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. > > --------------------------------------------- > Luca Morandini > GIS Consultant > [EMAIL PROTECTED] > http://utenti.tripod.it/lmorandini/index.html > --------------------------------------------- > > -----Original Message----- > From: Arda Balci [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:15 PM > To: [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 to be used with each page. > > I couldn't solve the problem. Do I need a special pipeline in the sitemap? > > > Arda Balci > It Consultant > > > > --------------------------------------------------------------------- > 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]> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --------------------------------------------------------------------- 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]>