Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 79181 invoked from network); 14 Apr 2011 11:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2011 11:44:24 -0000 Received: (qmail 21389 invoked by uid 500); 14 Apr 2011 11:44:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 21328 invoked by uid 500); 14 Apr 2011 11:44:24 -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 21314 invoked by uid 99); 14 Apr 2011 11:44:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 11:44:22 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RFC_ABUSE_POST,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [82.99.2.81] (HELO mx4.ciber-europe.com) (82.99.2.81) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 11:44:16 +0000 Received: from eusex01.sweden.ecsoft ([10.46.0.69]) by mx4.ciber-europe.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Apr 2011 13:43:52 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: validating xml Date: Thu, 14 Apr 2011 13:43:52 +0200 Message-ID: <7C655C04B6F59643A1EF66056C0E095EA99CC9@eusex01.sweden.ecsoft> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: validating xml Thread-Index: Acv6mToRsRJgIK5MS7eSDOkRvVWjgw== From: "Robby Pelssers" To: Cc: , X-OriginalArrivalTime: 14 Apr 2011 11:43:52.0867 (UTC) FILETIME=[3A811730:01CBFA99] Hi all, i've got an interesting use case where my starting point is XML data = (could be 1 single file, aggregated xml data, xquery results, ...) >From this input I have to generate a DITA map and topics for which I = have a map.dtd and topic.dtd which I can use for validation purposes. At some point in time during all transformation steps I have something = like below simplified snippet immediately before I want to use the = source-writing transformer. I need to validate the map and topics = before writing the files to disc. ... ... ... ... I can't simply use the approach below (similar = for map) since I still have an aggregated situation. Did anyone ever have a similar situation and a solution for this? Ideally the org.apache.cocoon.transformation.ValidatingTransformer could = handle an optional xpath expression to specify which nodes to treat as = rootnodes for validation. Would this approach work? Kind regards, Robby Pelssers --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org