ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
To: ntg-context@ntg.nl
Subject: Re: XML pretty printer?
Date: Sat, 13 Nov 2010 14:29:08 +0100	[thread overview]
Message-ID: <4CDE92A4.4070004@nibua-r.org> (raw)
In-Reply-To: <AANLkTin72wDM5uSgpmoZsS8bJ8dCk+J_ZJm1-bmOHu6h@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2027 bytes --]

I'm currently working on my pret-xml… just implementing attributes parsing…
I will upload that asap (even if my lua is… really bad ;) )

My two cents: depending of the complexity of the underlying data model
tranported by your xml medium, you should consider another tool
(xsltproc, saxon, xsdcxx, …) and integrate it in your production chain.

Could you describe in detail what your need is (in or off-list)?

Renaud

Le 13/11/2010 13:52, Peter Davis a écrit :
> I was thinking of doing all the XML parsing in TeX/ConTeXt, so I was looking
> for examples of that.  I'm still trying to learn my way around ConTeXt, and
> XML handling in particular, so I thought a pretty printer would be a good
> example.
>
> Thank you!
> -pd
>
> On Sat, Nov 13, 2010 at 6:23 AM, Renaud AUBIN <aubin@nibua-r.org> wrote:
>
>   
>>  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… 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 écrit :
>>
>> Anybody have an XML pretty printer ConTeXt document?  That 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/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
> ___________________________________________________________________________________
>   


[-- Attachment #1.2: Type: text/html, Size: 3047 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2010-11-13 13:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 20:22 Peter Davis
2010-11-13 11:13 ` Renaud AUBIN
2010-11-13 11:23 ` Renaud AUBIN
2010-11-13 12:52   ` Peter Davis
2010-11-13 13:28     ` Another Correspendence question Russell Urquhart
2010-11-13 17:10       ` Florian Wobbe
2010-11-13 21:46         ` Russell Urquhart
2010-11-13 13:29     ` Renaud AUBIN [this message]
2010-11-13 18:39       ` XML pretty printer? Renaud AUBIN
2010-11-13 20:18         ` Thomas Schmitz
2010-11-13 20:32           ` Renaud AUBIN
2010-11-13 20:40             ` Thomas Schmitz
2010-11-13 20:46               ` Renaud AUBIN
2010-11-14 22:54                 ` Renaud AUBIN
2010-11-20 19:40                   ` Renaud AUBIN
2010-11-20 20:11                     ` Renaud AUBIN
2010-11-20 21:43                       ` Renaud AUBIN
2010-11-21 11:58                     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDE92A4.4070004@nibua-r.org \
    --to=aubin@nibua-r.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).