Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 82176 invoked by uid 500); 8 May 2001 13:28:05 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 82111 invoked from network); 8 May 2001 13:27:57 -0000 Message-ID: <3AF7F3F1.34CF0AAB@apache.org> Date: Tue, 08 May 2001 09:26:09 -0400 From: Berin Loritsch X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: XIncludeTransformer References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N John Schult wrote: > > Berin, > > Thanks for the quick reply! So if I have: > > src="org.apache.cocoon.components.saxconnector.XIncludeSAXConnector"/> > > > > > > > > > > > > > > in the sitemap, and > > > > in the 'start.xsl' file, can I assume that the ouput of the 'test' pattern > will get included? No. The XIncludeSAXConnector is not a Transformer. In the "cocoon.xconf" file there is a line like this: The other alternative is The XIncludeSAXConnector is used for invisible aggregation. It actually may begin to use a new namespace soon because it doesn't obey xinclude semantics completely. It will perform the include if your "test" entry is generated in the Generator or the Transformer. Again, take a look at the dynamic pages samples and view the Aggregation one. > > -----Original Message----- > From: Berin Loritsch [mailto:bloritsch@apache.org] > Sent: Monday, May 07, 2001 5:14 PM > To: cocoon-users@xml.apache.org > Subject: Re: XIncludeTransformer > > John Schult wrote: > > > > Has anyone used the XIncludeTransformer? Assuming this is in the sitemap: > > > > > src="org.apache.cocoon.transformation.XIncludeTransformer"/> > > > > What would be the syntax of the ? I am assuming that > you > > place in the pipeline and it will resolve > > the elements in the document. Is this right? > > Yes. There are two different forms of performing XInclude. You can > use the method which includes resources > directly from a URL. The other method is using the XIncludeSAXConnector > which only includes resources from the sitemap (in other words, XSP pages > and aggregated content). > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: