Re: Calling an XML file from an XSP page

2001-08-06 Thread SoftLiban ITANI Mohamed
Hello Cocooners, I want to call an xml resulted of a jsp page and embed its content into my xsp page. Here u suggested something like : InputSource is = new InputSource( new FileReader( XSPUtil.relativeFilename(

Re: Calling an XML file from an XSP page

2001-07-23 Thread Davanum Srinivas
Try this. See util.xsl and XSPUtil.java for the sources. Thanks, dims InputSource is = new InputSource( new FileReader( XSPUtil.relativeFilename( votes.xml, objectModel

Re: Calling an XML file from an XSP page

2001-07-23 Thread Davanum Srinivas
: Calling an XML file from an XSP page Try this. See util.xsl and XSPUtil.java for the sources. Thanks, dims InputSource is = new InputSource( new FileReader( XSPUtil.relativeFilename( votes.xml

Calling an XML file from an XSP page

2001-07-21 Thread Yasir Khalil Al Masri
Hello, I'm tring in one of the XSP pages to call an XML file that resides on my machine. It came to me that as you can call an image by mapping it through: map:match pattern=images/**.png map:read src=project/images/{1}.png mime-type=image/png/ /map:match you can do the same for the XML