From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63466 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Re: XML pretty printer? Date: Sat, 13 Nov 2010 12:23:32 +0100 Message-ID: <4CDE7534.5070005@nibua-r.org> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0244246444==" X-Trace: dough.gmane.org 1289647440 14930 80.91.229.12 (13 Nov 2010 11:24:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 11:24:00 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 13 12:23:55 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PHED4-0007G1-Bi for gctc-ntg-context-518@m.gmane.org; Sat, 13 Nov 2010 12:23:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 71292CA820; Sat, 13 Nov 2010 12:23: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 UF4BYQypPtWq; Sat, 13 Nov 2010 12:23:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8A7C6CA824; Sat, 13 Nov 2010 12:23:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24D4CCA824 for ; Sat, 13 Nov 2010 12:23:49 +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 stcsZsneJ7iL for ; Sat, 13 Nov 2010 12:23:46 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 8FA48CA820 for ; Sat, 13 Nov 2010 12:23:46 +0100 (CET) Original-Received: from 64.mail-out.ovh.net (64.mail-out.ovh.net [91.121.185.65]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id oADBNaEf031074 for ; Sat, 13 Nov 2010 12:23:37 +0100 Original-Received: (qmail 26410 invoked by uid 503); 13 Nov 2010 11:10:41 -0000 Original-Received: from b9.ovh.net (HELO mail32.ha.ovh.net) (213.186.33.59) by 64.mail-out.ovh.net with SMTP; 13 Nov 2010 11:10:40 -0000 Original-Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 13 Nov 2010 13:23:35 +0200 Original-Received: from cha78-4-88-178-141-145.fbx.proxad.net (HELO ?192.168.78.1?) (aubin%nibua-r.org@88.178.141.145) by ns0.ovh.net with SMTP; 13 Nov 2010 13:23:33 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 In-Reply-To: X-Ovh-Tracer-Id: 8445656677843211021 X-Ovh-Remote: 88.178.141.145 (cha78-4-88-178-141-145.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=91.121.185.65; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04DuznAj3 - 7120d08754b7 - 20101113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:63466 Archived-At: This is a multi-part message in MIME format. --===============0244246444== Content-Type: multipart/alternative; boundary="------------040204020305040905050204" This is a multi-part message in MIME format. --------------040204020305040905050204 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some precision. I don't think you could consider any pret-xml.lua as an example of XML processing. What processing would you apply to your XML file? Are considering to use directly lua to process your XML inputs? Sorry, but that's not clear to me=E2=80=A6 You are certainly aware of the= fact that there is a plenty of SAX / XmlPulParser / CodeSynthesis Tree or parser samples around on the www. Renaud Le 12/11/2010 21:22, Peter Davis a =C3=A9crit : > Anybody have an XML pretty printer ConTeXt document? That would make a > great example of generic XML processing. > > Thanks, > -pd > > =20 > > > _______________________________________________________________________= ____________ > 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 > _______________________________________________________________________= ____________ > =20 --------------040204020305040905050204 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some precision. I don't think you could consider any pret-xml.lua as an example of XML processing. What processing would you apply to your XML file? Are considering to use directly lua to process your XML inputs? Sorry, but that's not clear to me=E2=80=A6 You are certainly aware of the= fact that there is a plenty of SAX / XmlPulParser / CodeSynthesis Tree or parser samples around on the www.

Renaud

Le 12/11/2010 21:22, Peter Davis a =C3=A9crit=C2=A0:
Anybody have an XML pretty printer ConTeXt document?  Th=
at would make a
great example of generic XML processing.

Thanks,
-pd

  
_________________________________________________________________________= __________ 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/m= ailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextre= v/ wiki : http://contextgarden.net _________________________________________________________________________= __________

--------------040204020305040905050204-- --===============0244246444== 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 ___________________________________________________________________________________ --===============0244246444==--