Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 67833 invoked by uid 500); 25 Jul 2002 14:30:08 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 67819 invoked from network); 25 Jul 2002 14:30:07 -0000 Message-ID: From: Piroumian Konstantin To: "'cocoon-users@xml.apache.org'" Subject: [SUMMARY] using different stylesheets for different xml files Date: Thu, 25 Jul 2002 18:31:36 +0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: kavitha ramesh [mailto:kavitha_igd@yahoo.co.in]=20 >=20 > Dear Mr.Oliver, >=20 > It works and thank you so much for your valuable > information. Kavitha, don't forget to add the [SUMMARY] when your question is answered. This = helps people to find answers to their questions in mailing archives and can indicate that the content can be a FAQ candidate. Konstantin >=20 > Kavitha=20 >=20 > --- ROSSEL Olivier wrote: > > Here is a sitemap for "catch-all" XML management. > >=20 > > > > > > > > > > > >=20 > > The sitemap resolver receives the URL. > > It parses sequentially the sitemap file, > > reading only what is inside matching map:match. > > The map:match above will be read for any URL that > > ends with the string > > '.xml'. > > The sitemap resolver read the > > It sees that it has to resolve the variable {1} > > (which contains the string matched by the first > > wildcard of pattern=3D"...") > > It resolves it either to 'login1' or 'login2' and > > instanciates > > the generator that will generate SAX events by > > reading the corresponding > > file. > >=20 > > Idem for the . > >=20 > > Then the sitemap resolver reads a (HTML by default) > > serializer. > > It instanciates the HTMLSerializer. > >=20 > > Then it stops reading the file (it ALAYS stops > > reading the file > > as soon as it meets a map:serialize). > >=20 > > The pipeline is ready. > >=20 > > Another approach is this one: > >=20 > > > > > > > > > > > >=20 > > > > > > > > > > > >=20 > > How all that works is the same as above. > >=20 > >=20 > >=20 > >=20 > >=20 > > > -----Message d'origine----- > > > De: kavitha ramesh > > [mailto:kavitha_igd@yahoo.co.in] > > > Date: jeudi 25 juillet 2002 15:02 > > > =C0: cocoon-users@xml.apache.org > > > Objet: using different stylesheets for different > > xml files > > >=20 > > >=20 > > > Hi, > > >=20 > > > I have two xml files and I would like to use two > > > different stylesheets for that.How do i do it? > > >=20 > > > For example I have two xml files inside the folder > > > name "docs": > > >=20 > > > login1.xml > > > login2.xml > > >=20 > > > and I have two stylesheets: > > >=20 > > > login1.xsl > > > login2.xsl > > >=20 > > > and for login1.xml I would like to use the > > stylesheet > > > login1.xsl and for login2.xml I would like to use > > > login2.xsl.How do the sitemap.xmap file look like > > for > > > the above? > > >=20 > > > Please help me,,, > > >=20 > > > Kavitha > > >=20 > > > > > > ______________________________________________________________ > > > __________ > > > Want to sell your car? advertise on Yahoo Autos > > Classifieds.=20 > > > It's Free!! > > > visit http://in.autos.yahoo.com > > >=20 > > > > > > --------------------------------------------------------------------- > > > Please check that your question has not already > > been answered in the > > > FAQ before posting. =20 > > > > >=20 > > > To unsubscribe, e-mail: =20 > > > > > For additional commands, e-mail: =20 > > > > >=20 > >=20 > > > --------------------------------------------------------------------- > > Please check that your question has not already > > been answered in the > > FAQ before posting. =20 > > > >=20 > > To unsubscribe, e-mail: =20 > > > > For additional commands, e-mail: =20 > > > > =20 >=20 > ______________________________________________________________ > __________ > Want to sell your car? advertise on Yahoo Autos Classifieds.=20 > It's Free!! > visit http://in.autos.yahoo.com >=20 > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. >=20 > To unsubscribe, e-mail: > For additional commands, e-mail: >=20 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: