Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABA71DDB5 for ; Fri, 15 Mar 2013 19:06:19 +0000 (UTC) Received: (qmail 78846 invoked by uid 500); 15 Mar 2013 19:06:19 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 78803 invoked by uid 500); 15 Mar 2013 19:06:19 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 78796 invoked by uid 99); 15 Mar 2013 19:06:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 19:06:19 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [213.199.154.189] (HELO db8outboundpool.messaging.microsoft.com) (213.199.154.189) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 19:06:10 +0000 Received: from mail6-db8-R.bigfish.com (10.174.8.251) by DB8EHSOBE029.bigfish.com (10.174.4.92) with Microsoft SMTP Server id 14.1.225.23; Fri, 15 Mar 2013 19:05:48 +0000 Received: from mail6-db8 (localhost [127.0.0.1]) by mail6-db8-R.bigfish.com (Postfix) with ESMTP id E3202CC0196 for ; Fri, 15 Mar 2013 19:05:48 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.248.165;KIP:(null);UIP:(null);IPV:NLI;H:AMXPRD0410HT001.eurprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -5 X-BigFish: PS-5(z569dhzbb2dI98dI9371Ic85eh1432I62a3Izz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz17326ah8275dh18c673h8275bhz2dh2a8h668h839hd25hf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1155h) Received: from mail6-db8 (localhost.localdomain [127.0.0.1]) by mail6-db8 (MessageSwitch) id 1363374347575979_30883; Fri, 15 Mar 2013 19:05:47 +0000 (UTC) Received: from DB8EHSMHS008.bigfish.com (unknown [10.174.8.248]) by mail6-db8.bigfish.com (Postfix) with ESMTP id 80199140045 for ; Fri, 15 Mar 2013 19:05:47 +0000 (UTC) Received: from AMXPRD0410HT001.eurprd04.prod.outlook.com (157.56.248.165) by DB8EHSMHS008.bigfish.com (10.174.4.18) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 15 Mar 2013 19:05:44 +0000 Received: from AMXPRD0410MB366.eurprd04.prod.outlook.com ([169.254.1.226]) by AMXPRD0410HT001.eurprd04.prod.outlook.com ([10.255.56.36]) with mapi id 14.16.0275.006; Fri, 15 Mar 2013 19:05:43 +0000 From: Robby Pelssers To: "users@cocoon.apache.org" Subject: RE: Dom Transformer Thread-Topic: Dom Transformer Thread-Index: AQHOIafNyeRHbzW8bUaoZl2dNj1Mm5inD7IAgAALMYCAAAD+AIAAAK2A Date: Fri, 15 Mar 2013 19:05:43 +0000 Message-ID: References: In-Reply-To: Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.28.255.68] Content-Type: multipart/alternative; boundary="_000_A5838A1302A3AC48B4A90FAD790B51AB1911476EAMXPRD0410MB366_" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_A5838A1302A3AC48B4A90FAD790B51AB1911476EAMXPRD0410MB366_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Exactly=85 I don=92t have the full picture here but if you provide a small= input file and expected output file we might come up with an easier soluti= on. I still am not seeing why XSLT can=92t get the job done but I hope you= r input will make this obvious. Robby From: gelo1234 [mailto:gelo1234@gmail.com] Sent: Friday, March 15, 2013 8:02 PM To: users@cocoon.apache.org Subject: Re: Dom Transformer The question is WHY you want to use DOM is still valid. C (2 or 3) uses SAX or StaX per default and you can use it in a clean way. = I see no reason to use DOM. Greetings, -Greg 2013/3/15 Mansour Al Akeel > I have tags with id's like: And those ids are used for links inside the document. They are linked from different sections. I like to transform the links and the ids to something that makes sense. Li= ke, My Link Label And The anchor I think this can be done is Stax, xslt or Sax, however, I am trying to do it in a clean way without any hacks. Do you have any suggestion ?? On Fri, Mar 15, 2013 at 2:18 PM, gelo1234 > wrote: > The question is WHY? you want DOM transformation in Cocoon environment ? > > Greetings, > -Greg > > > 2013/3/15 Mansour Al Akeel > >> >> I know this may sound strange, but I like to create a transformation wit= h >> DOM. >> I was able to see Stax and Sax transformation. I was not able to see >> one for DOM. >> >> Any advice ?? Examples ?? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --_000_A5838A1302A3AC48B4A90FAD790B51AB1911476EAMXPRD0410MB366_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Exactly=85  I don=92= t have the full picture here but if you provide a small input file and expe= cted output file we might come up with an easier solution.  I still am not seeing why XSLT can=92t get the job done but I hope your input will= make this obvious.

 <= /p>

Robby

 <= /p>

From: gelo1234= [mailto:gelo1234@gmail.com]
Sent: Friday, March 15, 2013 8:02 PM
To: users@cocoon.apache.org
Subject: Re: Dom Transformer

 

The question is WHY y= ou want to use DOM is still valid.

C (2 or 3) uses SAX o= r StaX per default and you can use it in a clean way. I see no reason to us= e DOM.

Greetings,

-Greg

 

2013/3/15 Mansour Al Akeel <mansour.alakeel@gmail.com>=

I have tags with id's like:

<some-section-tag id=3D'109876_n00069" .... >

And those ids are used for links inside the document. They are linked
from different sections.
I like to transform the links and the ids to something that makes sense. Li= ke,

<xref href=3D"the-section-title-with-dashes-only" > My Link= Label</xref>

And

The anchor

<some-section-tag id=3D'the-section-title-with-dashes-only" .... &g= t;

I think this can be done is Stax, xslt or Sax, however, I am trying to
do it in a clean way without any hacks.

Do you have any suggestion ??




On Fri, Mar 15, 2013 at 2:18 PM, gelo1234 <gelo1234@gmail.com> wrote:
> The question is WHY? you want DOM transformation in Cocoon environment= ?
>
> Greetings,
> -Greg
>
>
> 2013/3/15 Mansour Al Akeel <mansour.alakeel@gmail.com>
>>
>> I know this may sound strange, but I like to create a transformati= on with
>> DOM.
>> I was able to see Stax and Sax transformation. I was not able to s= ee
>> one for DOM.
>>
>> Any advice ?? Examples ??
>>
>> ------------------------------------------------------------------= ---
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

 

--_000_A5838A1302A3AC48B4A90FAD790B51AB1911476EAMXPRD0410MB366_--