Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05EC810BC for ; Wed, 20 Apr 2011 14:56:46 +0000 (UTC) Received: (qmail 46220 invoked by uid 500); 20 Apr 2011 14:56:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46182 invoked by uid 500); 20 Apr 2011 14:56:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 46139 invoked by uid 99); 20 Apr 2011 14:56:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 14:56:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of parag.doke@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 14:56:37 +0000 Received: by bwz16 with SMTP id 16so759618bwz.4 for ; Wed, 20 Apr 2011 07:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=xvhNGaL5gCxsodErgPSDvnqXaRnM3YmSkx22PIiZ0hw=; b=IlMMMn/XCdcTkltl1fcHsXJRs6sM2USzVD5h/wxCrmwhhqyYgJ46X9YOA5A7VXn/Yw 9ucKGHMjqjNpUX9lAC1Y3WO1fnByF5pA9NEdB7Z6WcTs3Dkafp3ek0HINffEsTFDE7ol osfB7yodEJK1QLdJHKGZHXxyDFafzezR4zjLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Zmq9c4GvxnAdIlw/souBTCc+51A50F+lYETojdT723RPOB2tXBC7zTj+FJ/egVB0N+ ZO5ztbiko3QCvukZmWo9UUSQkFYwhTb0wA4LZEILrjH+z7oGChSbWtGaesrCgkZ/hMR0 4bVVGtQhjy+XIqxPai8kHVc4w8GEHU1azt5xs= MIME-Version: 1.0 Received: by 10.205.24.13 with SMTP id rc13mr821491bkb.75.1303311377118; Wed, 20 Apr 2011 07:56:17 -0700 (PDT) Received: by 10.204.79.139 with HTTP; Wed, 20 Apr 2011 07:56:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Apr 2011 20:26:16 +0530 Message-ID: Subject: Re: Weird observation with echoxml w.r.t. order of node text From: Parag Doke To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thank you Dominique, Matt & Michael for your responses. For the time being I simply wrapped the text inside tags (since I'm trying to generate a time html file). I did not have any special styles for the spans in the document, so this serves my purpose for now. I will look into details of the xslt task and check if I can provide the xsl(t?) instructions inline with the build.xml. If that isn't doable, then will place them in an adjacent external .xsl file and use it using ${basedir}. Thanks once again, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Sat, Apr 9, 2011 at 2:48 AM, Dominique Devienne wr= ote: > On Fri, Apr 8, 2011 at 2:57 PM, Matt Benson wrote: >>> So yeah, I'm afraid it's by design... A proper was need >>> access to the full infoset provided by the parser, and thus require >>> deeper changes into Ant core to provide that infoset. --DD >> >> EchoXML has, I'm afraid, been a largely unsuccessful experiment. >> Experience has proven it fit only for simple tasks. =A0Strangely, I >> thought *I* authored it, but you're welcome to take the blame, DD! =A0:) > > You totally did Matt! Sorry. See [1]. > > I confused echoXML with XMLFragment [2], which underpins it and > predates it by a few months. > > This was all a long time ago! --DD > > [1] https://fisheye6.atlassian.com/changelog/ant?cs=3D278356 > [2] https://fisheye6.atlassian.com/changelog/ant?cs=3D275702 > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A067 =A0 =A0 =A0/** > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A068 =A0 =A0 =A0 * Use this = class as a nested element if you want to get a literal DOM > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A069 =A0 =A0 =A0 * fragment = of something nested into your task/type. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A070 =A0 =A0 =A0 * > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A071 =A0 =A0 =A0 *

This i= s useful for tasks that want to deal with the "real" XML > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A072 =A0 =A0 =A0 * from the = build file instead of objects.

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A073 =A0 =A0 =A0 * > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A074 =A0 =A0 =A0 *

Code h= eavily influenced by code written by Dominique > Devienne.

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A075 =A0 =A0 =A0 * > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A076 =A0 =A0 =A0 * @since An= t 1.7 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A077 =A0 =A0 =A0 */ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A078 =A0 =A0 =A0public class= XMLFragment implements DynamicConfigurator { > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org