From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34999 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Write once layout everwhere (?) Date: Mon, 11 Jun 2007 11:42:23 -0400 Message-ID: <20070611114223.uig799728080wows@web.mail.umich.edu> References: <3e73596b0706101531m311f435fub90f185d6336586@mail.gmail.com> <16271B65-5A75-4206-A415-0EEA62417934@uni-bonn.de> <115224fb0706110634m5559702h8131b900ade5ff62@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181576699 19425 80.91.229.12 (11 Jun 2007 15:44:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2007 15:44:59 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 11 17:44:56 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Hxm4e-0002fn-Cf for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jun 2007 17:44:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BBE27201CF; Mon, 11 Jun 2007 17:44:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03020-04; Mon, 11 Jun 2007 17:44:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F946201C2; Mon, 11 Jun 2007 17:42:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B681E201C2 for ; Mon, 11 Jun 2007 17:42:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01205-05-4 for ; Mon, 11 Jun 2007 17:42:25 +0200 (CEST) Original-Received: from chipewa.web.itd.umich.edu (chipewa.web.itd.umich.edu [141.211.144.147]) by ronja.ntg.nl (Postfix) with ESMTP id 487F4201B5 for ; Mon, 11 Jun 2007 17:42:25 +0200 (CEST) Original-Received: (from www@localhost) by chipewa.web.itd.umich.edu (8.12.10/8.12.9) id l5BFgNbC007750 for ntg-context@ntg.nl; Mon, 11 Jun 2007 11:42:23 -0400 Original-Received: from wwwgate34.motorola.com (wwwgate34.motorola.com [136.182.158.153]) by web.mail.umich.edu (Horde MIME library) with HTTP; Mon, 11 Jun 2007 11:42:23 -0400 In-Reply-To: <115224fb0706110634m5559702h8131b900ade5ff62@mail.gmail.com> Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.0.5) X-Remote-Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 X-IMP-Server: 141.211.144.229 X-Originating-IP: 136.182.158.153 X-Originating-User: adityam X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34999 Archived-At: Quoting Wolfgang Schuster : > 2007/6/11, Aditya Mahajan : > >> Hmm... somehome I had missed xtag-ent.tex. I was looking at xml >> introductions, and did not look into ConTeXt sources. I will have a >> look and see how it goes. >> >> Thanks, >> Aditya > > Hi Aditya, > > the XML-Document example.pdf is a little bit outdated (Hans changed a few > commands). The important files for xml are xtag-ini and xtag-ext, you should > take a look into the contml module. Thanks. I had not looked at them and some of the things about handling at the ConTeXt end are more clear now. But I think that I did not explain my question correctly. What I do not understand how are abbreviations etc. handled by xslt for conversion into html. For example, how do I write an xsl style sheet that converts this xml input

I study which stands for

into html as

I study EECS which stands for Electrical Engineering and Computer Science

I know that this is not the right list to ask this sort of questions, but I am hoping that there are xml users here and they will be able to point me to the right direction. Thanks, Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________