From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12324 Path: main.gmane.org!not-for-mail From: Alexandre Enkerli Newsgroups: gmane.comp.tex.context Subject: XML Processing Date: Tue, 20 May 2003 13:35:08 -0300 Sender: ntg-context-admin@ntg.nl Message-ID: <04E6633D-8AE1-11D7-B2FC-0003935A6512@indiana.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1053448673 14043 80.91.224.249 (20 May 2003 16:37:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 16:37:53 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue May 20 18:37:49 2003 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 19IA7Z-0003do-00 for ; Tue, 20 May 2003 18:37:49 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0D07110B34; Tue, 20 May 2003 18:39:37 +0200 (MEST) Original-Received: from simmts2-srv.bellnexxia.net (simmts2.bellnexxia.net [206.47.199.11]) by ref.ntg.nl (Postfix) with ESMTP id DB5EA10ACE for ; Tue, 20 May 2003 18:35:24 +0200 (MEST) Original-Received: from indiana.edu ([131.202.162.192]) by simmts2-srv.bellnexxia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030520163506.GLVV24659.simmts2-srv.bellnexxia.net@indiana.edu> for ; Tue, 20 May 2003 12:35:06 -0400 Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.552) 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:12324 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12324 Hello all, I'm building an exam using "ExamView Pro" which has, surprisingly, an XML export feature. I'd like to process the exam content into ConTeXt. I've looked at the "Example" file and tried to understand how it all works, but I'm not sure I can. So far, I've been able to process entities and MathML using the mm* and ent as options for --xmlfilter (texexec --pdf --xmlfilter=mml,mmp,mmc,ent file.xml) but I can't even get to work as planned with any of the xtag-* files. I'm guessing I need to use the x-contml.tex file, but I don't know why. Then, I'll probably need some guidance to have everything work. The ExamView XML format uses attributes but I'd be happy with just getting the basic format straight. What makes it somewhat harder is that I don't have so much experience with ConTeXt anyway. So, I'd appreciate any help. Here's the basic structure of the data I want to process: In LaTeX terminology (sorry!) what I want is to have all the question texts as items in an "enumerate" and answer choices in an alphabetical enumerate for each question. Doesn't sound too hard. In fact, I guess I could probably do a find and replace... Thanks in advance for your help.