Return-Path: X-Original-To: apmail-forrest-dev-archive@www.apache.org Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B29AD66ED for ; Tue, 19 Jul 2011 16:11:22 +0000 (UTC) Received: (qmail 95614 invoked by uid 500); 19 Jul 2011 16:11:22 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 95487 invoked by uid 500); 19 Jul 2011 16:11:21 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 95474 invoked by uid 99); 19 Jul 2011 16:11:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 16:11:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.210.52] (HELO mail-pz0-f52.google.com) (209.85.210.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 16:11:12 +0000 Received: by pzd13 with SMTP id 13so6904776pzd.11 for ; Tue, 19 Jul 2011 09:10:50 -0700 (PDT) Received: by 10.142.63.7 with SMTP id l7mr3671219wfa.282.1311091850635; Tue, 19 Jul 2011 09:10:50 -0700 (PDT) Received: from [192.168.0.87] (d50-92-31-6.bchsia.telus.net [50.92.31.6]) by mx.google.com with ESMTPS id j7sm4245873wfd.16.2011.07.19.09.10.48 (version=SSLv3 cipher=OTHER); Tue, 19 Jul 2011 09:10:49 -0700 (PDT) Message-ID: <4E25ABD7.8010304@brolin.be> Date: Tue, 19 Jul 2011 09:07:51 -0700 From: Brolin Empey Organization: dynamic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110613 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: XDocs document-v20: how to prevent duplication of values of alt + title attributes of img elements? References: <4E234308.3050309@brolin.be> <20110719005225.GB62541@igg.local> In-Reply-To: <20110719005225.GB62541@igg.local> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org David Crossley wrote: > Brolin Empey wrote: >> >> When I want the value of both the alt and title attributes of an img >> element in an XDocs document-v20 document to be equal, how can I prevent >> duplicating the value by copying and pasting it? Can I declare the >> value of one attribute to use the value of another attribute? > > Sorry, i have no idea what you mean. Let me provide an example: foo How can I avoid duplicating �foo� in the value of the alt and title attributes of the img element? Can I declare the value of the title attribute to equal the value of the alt attribute?