Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 26393 invoked from network); 7 Sep 2000 23:21:12 -0000 Received: from f67.law4.hotmail.com (HELO hotmail.com) (216.33.149.67) by locus.apache.org with SMTP; 7 Sep 2000 23:21:12 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2000 16:21:13 -0700 Received: from 195.8.88.62 by lw4fd.law4.hotmail.msn.com with HTTP; Thu, 07 Sep 2000 23:21:12 GMT X-Originating-IP: [195.8.88.62] From: "Robin Green" To: cocoon-users@xml.apache.org Subject: Re: Please Help me. Including xml file in another xml file Date: Fri, 08 Sep 2000 00:21:12 BST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Sep 2000 23:21:13.0023 (UTC) FILETIME=[501FFCF0:01C01922] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Pratik Machchar" wrote: >Sorry for this off topic. >I searched the mail archive and found lots of information on this topic but >none with luck. > >Actually I wnat to include on file connectionInfo.sxml > > > > > > org.gjt.mm.mysql.Driver > jdbc:mysql://192.9.203.210/cyberoam > cyberoam > cyberoam > > > >and want to use it all the places. Good idea! > >when i use > > >Select IP > href="http://localhost:8080/cyberoam/sql/connectionInfo.sxml"/> >select distinct clientip from tblaccesslog >order by clientip > > > >it gives me null pointer exception that no conneciton def is available. Try using an XML external entity declaration instead. >One more thing I want to use relative path name not complete url. You can do that with entities I think. -- Robin _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.