Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 71369 invoked by uid 500); 22 Jan 2003 11:21:25 -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 71358 invoked from network); 22 Jan 2003 11:21:24 -0000 Date: Wed, 22 Jan 2003 22:24:59 +1100 From: Jeff Turner To: "'cocoon-users@xml.apache.org'" Subject: Re: Standard in creatring xml files Message-ID: <20030122112459.GB18658@expresso.localdomain> Mail-Followup-To: "'cocoon-users@xml.apache.org'" References: <605C30FF35D20248809F09932799F43214A36B@MAIL.pdpsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <605C30FF35D20248809F09932799F43214A36B@MAIL.pdpsoft.com> User-Agent: Mutt/1.4i X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N On Wed, Jan 22, 2003 at 02:11:05PM +0330, Alireza Fattahi wrote: > Hi, > > We want to create a web site with 40 pages. The site has typical input forms > and search/search result pages. We want to have some XSL files as the > template for these pages. Of course we should not have 40 xsl files, but 40 > xml files. But, how? > > Here is an example: > Suppose we have two search result pages that generate these xml files. > 1) > > Alireza > Fattahi > > > 2) > > IBM > 10,000 > > > We should create 2 xsl files for parsing if there are 40 files we should > create 40 file! Is it correct? If you want 40 different kinds of output, then you need 40 XSLTs. You could probably make just a few and parametrize them. If you want just a few output formats, you can have intermediate adaptor stylesheets converting a common XML 'searchresults' format. > Is there any guideline that can help us creating a standard for these > typical applications? What standards should be obeyed by (for example) a > typical search result page? RDF is nice and generic. I've used DSML (LDAP searchresult XML format) before. Also, you could reuse the Google search result XML format. See http://www.google.com/apis/ --Jeff > Alireza > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: