Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 96624 invoked from network); 13 Jan 2004 22:02:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Jan 2004 22:02:40 -0000 Received: (qmail 72419 invoked by uid 500); 13 Jan 2004 22:02:21 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72401 invoked by uid 500); 13 Jan 2004 22:02:19 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72382 invoked from network); 13 Jan 2004 22:02:19 -0000 Received: from unknown (HELO um0004.unimaas.nl) (137.120.1.4) by daedalus.apache.org with SMTP; 13 Jan 2004 22:02:19 -0000 Received: from mail001.unimaas.nl (mail001.unimaas.nl [137.120.1.31]) by um0004.unimaas.nl (Postfix) with ESMTP id AFBDB51464 for ; Tue, 13 Jan 2004 23:02:24 +0100 (CET) Received: by mail001.unimaas.nl with Internet Mail Service (5.5.2657.72) id ; Tue, 13 Jan 2004 23:02:24 +0100 Message-ID: From: H.vanderLinden@MI.unimaas.nl To: users@cocoon.apache.org Subject: RE: multiple xpaths in XPathDirecory Date: Tue, 13 Jan 2004 23:02:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ah, wild guess: the XPathDirectoryGenerator uses @name to give the original filename. I was also unable to get xpath1|xpath2 working when both expressions contained attributes. I was able to change the XML file to make tags out of the attributes after that it worked. My sitemap: My formlist.xsl:
Hope this helps. Bye, Helma > -----Original Message----- > From: rufio [mailto:ruf10@op.pl] > Sent: Tuesday, 13 January 2004 16:49 > To: users@cocoon.apache.org > Subject: Re: multiple xpaths in XPathDirecory > > > on Tue, 13 Jan 2004 16:02:50 +0100 H.vanderLinden@MI.unimaas.nl wrote: > > > Doesn't the xpath1|xpth2 query result in and > in > > the resulting XML? In that case you only need to use an XSL > stylesheet to > > get whatever you want. > > no, see below. > > > > Hi > > > I'm trying to get 2 informations from xml files with > > > XPathDirectory generator: > > > /page/@name and /page/@category but I found that I can't use > > > xpath parameter > > > more than once (thanx avalon). > > > I also found that the xpath parameter can be of form > > > "xpath1|xpath2" but the > > > result is unsplitable namecategory. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Regards, Rufio > -- > 010 > XMMS now playing > 001 > Turbo > 111 > Do potwora > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org