cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariswara...@satyam-infoway.com
Subject RE: How to include other XML files in XSP page?
Date Fri, 18 Aug 2000 07:56:36 GMT



Try this , if you don't want to donwload

<xsp:logic>
     String __name ="http://server/file/....";
      URL __url = new URL(__name);
     InputSource __is = new InputSource(__url.openStream());
     __is.setSystemId(__url.toString());

xspCurrentNode.appendChild(XSPUtil.cloneNode(this.xspParser.parse(__is).getDocumentElement(),

document) );
</xsp:logic>




Mime
View raw message