From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75076 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: \attributedef not working? Date: Wed, 14 Mar 2012 14:24:41 +0000 Message-ID: <74C8E46A-5EF1-4571-A5EF-D851C8D84A72@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0310538784==" X-Trace: dough.gmane.org 1331735105 6401 80.91.229.3 (14 Mar 2012 14:25:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2012 14:25:05 +0000 (UTC) To: ConTeXt NTG Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 14 15:25:02 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S7p8Q-0006sn-5K for gctc-ntg-context-518@m.gmane.org; Wed, 14 Mar 2012 15:25:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 490BECB2A2; Wed, 14 Mar 2012 15:25:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XM0Td+vvYuk0; Wed, 14 Mar 2012 15:24:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A7BCCB291; Wed, 14 Mar 2012 15:24:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A42CCB291 for ; Wed, 14 Mar 2012 15:24:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tFUYssHLrPs9 for ; Wed, 14 Mar 2012 15:24:42 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 83F77CB281 for ; Wed, 14 Mar 2012 15:24:42 +0100 (CET) Original-Received: from jansen.uva.nl (jansen.uva.nl [146.50.108.229]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2EEOfLu012598 for ; Wed, 14 Mar 2012 15:24:41 +0100 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by jansen.uva.nl ([146.50.108.229]) with mapi id 14.01.0355.002; Wed, 14 Mar 2012 15:24:41 +0100 Thread-Topic: \attributedef not working? Thread-Index: AQHNAe4xIl5HbgtgG0KcU4gesFWEhA== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.229; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RGJqoFVw - 90ebbf96a0c4 - 20120314 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75076 Archived-At: --===============0310538784== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_74C8E46A5EF14571A5EFD851C8D84A72uvanl_" --_000_74C8E46A5EF14571A5EFD851C8D84A72uvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Processing xml I get with: \writestatus{************}{\xmlattributedef{#1}{= .}{default}{???}} output: ************ > ??? and \writestatus{************}{\xmlattribute{#1}{.}{default}} has no attrib= ute output but with: \writestatus{************}{\xmlattdef{#1}{default}{???}} output: ************ > mydefault Is something amiss with \xmlattribute and \xmlattributedef? I need these in order to get an attribute from a node higher up in the xml-= tree. Hans van der Meer --_000_74C8E46A5EF14571A5EFD851C8D84A72uvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: <015B96C1E191944EAFFCF052AAEAB630@uva.nl> Content-Transfer-Encoding: quoted-printable Processing xml I get with: \writestatus{************}{\xmlattributedef= {#1}{.}{default}{???}}
output: ************    > ???

and = \writestatus{************}{\xmlattribute{#1}{.}{default}} has no att= ribute output

but with:=  \writestatus{************}{\xmlattdef{#1}{default}{???}}
output: ************    > mydefault

Is something amiss with \xmlattribute and \xmlattributedef?
I need these in order to get an attribute from a node higher up in the= xml-tree.

Hans van der Meer



--_000_74C8E46A5EF14571A5EFD851C8D84A72uvanl_-- --===============0310538784== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0310538784==--