From owner-freebsd-doc@FreeBSD.ORG Tue Dec 4 17:16:39 2012 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A579D70 for ; Tue, 4 Dec 2012 17:16:39 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7CCA78FC16 for ; Tue, 4 Dec 2012 17:16:38 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so4549790lbb.13 for ; Tue, 04 Dec 2012 09:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type; bh=FV1JBCeirohYThcl4EtmgVSj9ffue2Ea1xXtaQN8zX0=; b=VeCrSosstIuTQbSHFu1N+eIIggOyhuuhej1FG4O6tftyUF/AP3NtF2lxmyobIhG2FF sVfk7zeHZU8HREtwtG5Sk+m6kE51GJjcOz+uLD9TBd+rzXI4fmAXxuaFIxlSiSaxjySx WSkV10ZJP9ADmdnr4oIVy6+ib7wwUwkCHShSGCESCZm0G+7c8jf+VoCx51G+1zKEBuI8 Q75w6p9XjFPnw9IVi2k0ftfHALuObpc0NImneA7MzSphyBRGSO8Ooe87Ja1noKnqQtgk luY2dVAMhuI+/73yvyeZUK0vGyQkRLNzEarmrgvzhxZjzzSsejtoNuKsHMp/WUz1f3+n Uiag== Received: by 10.152.144.201 with SMTP id so9mr13930628lab.24.1354641396786; Tue, 04 Dec 2012 09:16:36 -0800 (PST) Received: from ?IPv6:2001:980:d7ed:1:9fa:69be:5fda:257? ([2001:980:d7ed:1:9fa:69be:5fda:257]) by mx.google.com with ESMTPS id sj3sm986771lab.2.2012.12.04.09.16.34 (version=SSLv3 cipher=OTHER); Tue, 04 Dec 2012 09:16:35 -0800 (PST) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Message-ID: <50BE2FF1.9050901@freebsd.org> Date: Tue, 04 Dec 2012 18:16:33 +0100 From: =?ISO-8859-1?Q?Ren=E9_Ladan?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FBSD Doc project Subject: XSLT template for X-Enigmail-Version: 1.4.6 Content-Type: multipart/mixed; boundary="------------070704080204090306070503" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 17:16:39 -0000 This is a multi-part message in MIME format. --------------070704080204090306070503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi, as of r40266 of the projects/entities branch one can write &committer.email; in $LANG/htdocs which then gets expanded as defined in share/xml/authors.ent, so: authors.ent: greenpuppet@FreeBSD.org"> administration.xml: ... some story about ET ... &a.greenpuppet.email; administration.html: ... some story about ET ... Green Puppet greenpuppet@reeBSD.org The xmlns attribute is defined in share/xml/email.dtd and is required to keep xmllint (which is run for each XML document) happy. The attached patch for share/xml/xhtml.xsl defines a template to convert the tag into XHTML but it looks the template is never reached. The template above it (process.contentwrap) includes an xsl:copy-of statement which copies the body of the XML document verbatim, leaving tags as-is. So how to get the new template to do its job? Should part of the process.contentwrap be rewritten? René --------------070704080204090306070503 Content-Type: text/plain; charset=UTF-8; name="email-xslt.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="email-xslt.diff" Index: xhtml.xsl =================================================================== --- xhtml.xsl (revision 40265) +++ xhtml.xsl (working copy) @@ -159,6 +159,23 @@ + + < + + + + + + + mailto: + rect + + + + + > + + ©right;
--------------070704080204090306070503--