From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11079 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: inlining pretty-printed XML Date: Tue, 18 Feb 2003 15:55:52 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030218155250.0231d060@server-1> References: <5.1.0.14.1.20030217011932.02ce5ec0@remote-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1045580159 15451 80.91.224.249 (18 Feb 2003 14:55:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2003 14:55:59 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18l9A6-000414-00 for ; Tue, 18 Feb 2003 15:55:58 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4DAEA10AE8; Tue, 18 Feb 2003 15:58:21 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 48E7110AB6 for ; Tue, 18 Feb 2003 15:56:01 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h1IEttR9032046 for ; Tue, 18 Feb 2003 15:55:55 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.3/8.12.2) with ESMTP id h1IEtxt5027011 for ; Tue, 18 Feb 2003 15:55:59 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11079 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11079 At 09:23 PM 2/18/2003 +0800, Guy Worthington wrote: >Hans, you make life hard. I've been playing around with this, this >afternoon, it's like magic. But now I've got to rethink how I >format XML to exploit the pretty-printing capability, especially how I >should group elements. Say that you use relax ng, have the following def's in, say, eximple.rng: ..... then you can say: \definefilesynonym [eximple] [eximple.rng] and later on pick up the components: \showRNGcomponent[eximple][framework] saves you some work and make documentation in a separate file easier Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------