From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13051 Path: main.gmane.org!not-for-mail From: "Pawel Jackowski na WP" Newsgroups: gmane.comp.tex.context Subject: ConTeXt, XML and verbatim Date: Wed, 3 Sep 2003 16:09:32 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <000b01c37225$09c13800$0500a8c0@best> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1062602697 29279 80.91.224.253 (3 Sep 2003 15:24:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2003 15:24:57 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Sep 03 17:24:56 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uZVA-0004bU-00 for ; Wed, 03 Sep 2003 17:24:56 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E9F2410B50; Wed, 3 Sep 2003 17:24:50 +0200 (MEST) Original-Received: from smtp.wp.pl (smtp.wp.pl [212.77.101.161]) by ref.ntg.nl (Postfix) with ESMTP id 2F24D10B0E for ; Wed, 3 Sep 2003 16:09:53 +0200 (MEST) Original-Received: (WP-SMTPD 15824 invoked from network); 3 Sep 2003 14:09:50 -0000 Original-Received: from pa36.debniki.sdi.tpnet.pl (HELO best) (paweljackowski@[213.77.147.36]) (envelope-sender ) by smtp.wp.pl (wp-smtpd) with SMTP for ; 3 Sep 2003 14:09:46 -0000 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-ChangeAV: 0 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:13051 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13051 I. I'm working on some documentation writen in XML. This documentation contain many nested XML files. To process XML I use simple ConTeXt construction \processXMLfilegrouped{file.xml} (or) \starttext \processXMLfilegrouped{file.xml} \stoptext In XML source nested files are involved by tag. To process nested XML files I have defined something like this: \defineXMLcommand [nested] {\processXMLfile{\XMLpar{nested}{src}{}}} It works good. I want to treat each 'newline-char' as a space (in the whole document). For that purpose I use: \catcode`^^M=10 The problem is that it DOESN'T work for nested XML files. How can I set someting like this for the whole XML structure, not only for file processed just 'under' ConTeXt? It works only for the file processed directly by the command \processXMLfile{...} II. Meybe someone knowns how to 'translate' verbatim environments for XML code? I mean how to define environment which I can use in this way .... to get literal content of such XML tag? Thanks, Paweł Jackowski