Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 71762 invoked from network); 24 Aug 2004 21:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Aug 2004 21:24:39 -0000 Received: (qmail 65074 invoked by uid 500); 24 Aug 2004 21:24:11 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 64952 invoked by uid 500); 24 Aug 2004 21:24:10 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 64877 invoked by uid 99); 24 Aug 2004 21:24:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [66.98.134.69] (HELO us7.servers.haisoft.net) (66.98.134.69) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 24 Aug 2004 14:24:07 -0700 Received: (qmail 4139 invoked from network); 24 Aug 2004 21:24:01 -0000 Received: from ppp-0-53.lond-a-4.access.uk.tiscali.com (HELO ebi.ac.uk) (80.225.220.53) by srv12.noname-dns.net with SMTP; 24 Aug 2004 21:24:01 -0000 Message-ID: <412BB278.5040104@ebi.ac.uk> Date: Tue, 24 Aug 2004 22:26:16 +0100 From: Antony Quinn Organization: European Bioinformatics Institute User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: matching html elements in transformation References: <412B03F0.7030307@ebi.ac.uk> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry, you're quite right about namespaces. I've had DTDs on the brain today :~) Volkm@r wrote: > Antony Quinn wrote: > >> Gary, >> >> It sounds like a namespace problem. >> >> Take a look at your HTML - if there's a DTD declaration you'll need to >> declare this is a namespace in your XSL file and prefix any HTML >> elements accordingly, eg: > > No. DTD and namespace are separate things. > Just only check if HTML given has a namespace. And if there is none you > don't have to add one, regardless which DTD. If HTML had a namespace it > should be mentioned in the starting tag of its root element like > ... > Normally (non-X)HTML doesn't allow for a namespace attribute. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org