Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 49031 invoked from network); 22 Jan 2006 21:24:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jan 2006 21:24:54 -0000 Received: (qmail 28504 invoked by uid 500); 22 Jan 2006 21:24:53 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 28476 invoked by uid 500); 22 Jan 2006 21:24:52 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 28462 invoked by uid 99); 22 Jan 2006 21:24:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2006 13:24:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.247.154.1] (HELO swip.net) (212.247.154.1) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2006 13:24:51 -0800 X-T2-Posting-ID: sqekuHx5EEXz8PMiWfS+nn/CVSJ13AovswB5l38CkqQ= X-Cloudmark-Score: 0.000000 [] Received: from [83.180.155.185] (HELO [192.168.2.5]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 80522230 for user@forrest.apache.org; Sun, 22 Jan 2006 22:24:28 +0100 Subject: Re: common+skins document2html.xsl questions From: Thorsten Scherler To: user@forrest.apache.org In-Reply-To: <43D3C1B7.9010800@greenjaguar.com> References: <43D3C1B7.9010800@greenjaguar.com> Content-Type: text/plain; charset=utf-8 Date: Sun, 22 Jan 2006 22:24:22 +0100 Message-Id: <1137965062.16097.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Note: I have not replied to your earlier mail because my recommendation is the dispatcher (once again). Since as soon as I mention this on @user we start to point out that is not ready for production so I just stop to mention it on this list. The dispatcher is dev stuff so all questions regarding it should be directed to dev@f.a.o. It is not a user topic since only "devs" are using the dispatcher.=20 El dom, 22-01-2006 a las 12:32 -0500, Helena Edelson escribi=C3=B3: > I am confused on getting data into xdocs content. does it has to be *in* the xdocs? Or is it that is coming just afterward? Is it xdocs itself, if so did you try a "simple" cinclude on the xdocs (before skining)? > I've been testing some of my own hacks (manglings) for getting meta data=20 > into sections of xdoc xml content files(document 2.0 dtd) >=20 What is this meta data can you give an example? > This is simple with xslt files, jsp/servlets, php where aspects are=20 > easily split so one can set in say a language file > the messages to output (Forrest has this but..) in various areas of the=20 > Content (xdocs/*.xml). That sounds like you want to include another language in the content, right?=20 >=20 > Am I missing something or is it in 0.8 ? What do you mean? > Maybe it is in teh all-talked about coat or views. Is 0.8 in MVC? >=20 If you mean the dispatcher, then yes one can say it is following the model-view-controller (mvc) pattern, but the dispatcher !=3D skins. > The only way I see is to customize both common document2html.xsl and=20 > skins document2html.xsl > (very messy:reusability rather sad) >=20 Yes, that is why I started the work on the dispatcher aka views. Here you can easily define custom business services that you can include and process in your output. > class=3D"fork" is being stripped by my editor and not allowed. link is xdocs < 2.0 and in =3D>2.0 it is . http://forrest.apache.org/dtdx/document-v20.html#changes-20 Seems you need to configure your editor that @class does not get stripped. Try with "vi", that will not strip it. ;-) > tested a custom template for matching to implement class fork but it=20 > kept being stripped. > did a bunch of (starts-with...) to catch "http:" and if found, do href=3D"{@href} target=3D"_blank"> just like "fork" > with no luck either on like ten tries at template variations. Anyone=20 > have any ideas? Hmm, I have just tested it on the lenya docu and it is working like a charm.

The server lenya.zones.apache.org provides our testing and demonstration area. It is managed by Apache Lenya committers.

get transformed to=20

The server lenya.zones.apache.org provides our testing and demonstration area. It is managed by Apache Lenya committers.

HTH salu2 --=20 thorsten "Together we stand, divided we fall!"=20 Hey you (Pink Floyd)