Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB1A618EF5 for ; Thu, 23 Jul 2015 09:15:51 +0000 (UTC) Received: (qmail 26874 invoked by uid 500); 23 Jul 2015 09:15:45 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 26803 invoked by uid 500); 23 Jul 2015 09:15:45 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 26792 invoked by uid 99); 23 Jul 2015 09:15:45 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2015 09:15:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CB3ABD6EB2 for ; Thu, 23 Jul 2015 09:15:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.314 X-Spam-Level: * X-Spam-Status: No, score=1.314 tagged_above=-999 required=6.31 tests=[URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2lFsfS3MwFFh for ; Thu, 23 Jul 2015 09:15:36 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id A1CDE20DD0 for ; Thu, 23 Jul 2015 09:15:35 +0000 (UTC) Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 001CF2439D09 for ; Thu, 23 Jul 2015 02:15:09 -0700 (PDT) Date: Thu, 23 Jul 2015 02:15:04 -0700 (MST) From: Sreekant Sreedharan To: solr-user@lucene.apache.org Message-ID: <1437642904717-4218761.post@n3.nabble.com> In-Reply-To: <1437587034.3240867.330481777.54DADFF9@webmail.messagingengine.com> References: <1437560268532-4218518.post@n3.nabble.com> <1437562769098-4218530.post@n3.nabble.com> <1437587034.3240867.330481777.54DADFF9@webmail.messagingengine.com> Subject: Re: XSLT with maps MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Well, if you had a result say: ... 589587B2B1CA4C4683FC106967E7C326 EE3YYK 31034 ... applying the template: would result in the following XML: This is because 'id' is not an attribute of 'doc'. It is not even the attribute of doc/str. It is a value of doc/str/@name. But the problem is that 1) doc/str/@name can refer to either 'id', or 'ar' and 2) if the attribute is 'age' then the referred values is not doc/str/@name, but doc/int/@name Is there a simpler way to work with this? -- View this message in context: http://lucene.472066.n3.nabble.com/XSLT-with-maps-tp4218518p4218761.html Sent from the Solr - User mailing list archive at Nabble.com.