DTD and XSP..NEED HELP PLZ

2001-07-04 Thread Mohamed Ramzy

hi,
i have a problem and i didn't find the answer in the
FAQ. my problem is that i have a .xml file which is
using a DTD to get external entities, i want to use
XSP with this xml file to retrieve some parameters
from HTML file, the problem here, i always get a XSP
NullPointerException error, here is the code

?xml version=0.1?
?cocoon-process=xsp?
?cocoon-process=xslt?
?xml-stylesheet href=.xsl?
!-- xsp is the root element --
!DOCTYPE xsp [
!ENTITY % ens SYSTEM ens.xml
%ens;]
xsp:page language=java
xmlns:xsp=http://www.apache.org/1999/XSP/Core;

page
parameters
fnamexsp:exprrequest.getParameter(fname)/xsp:expr/fname
.
/parameters

/page
/xsp:page

i don't know if the error in the decleration of the
root element in the DOCTYPE, or XSP and DTD can't work
together...would any one tell me what to do...

i'm using Cocoon 1.8.2 apache JServ/1.1

thanks in advance







=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science  Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Why XSP?

2001-07-03 Thread Mohamed Ramzy

hi
XSLT is just for transforming, but XSP, think about it
as your gateway to include any java code in ur file,
or importing any custom/not java class/classes to your
file...it is the gate!!
--- Mikael Ståldal [EMAIL PROTECTED] wrote:
 What is the need for XSP? Why not use XSLT with
 extensions instead?
 
 

-
 Please check that your question has not already been
 answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science  Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Displaying Images ?

2001-07-03 Thread Mohamed Ramzy

hi,
the idea is simpleget the name of the image file
from ur database by using esql(as u use it), then pass
it to the XSL file as a tag and put it through
variable and write the normal HTML imag tag, and in
the source field write the name of ur variable
i hope that can help
--- Gustavo Mejia [EMAIL PROTECTED] wrote:
 Hello !!
 
 Yes, I am here again .. I have a question, I need to
 display an image
 stored in my Oracle Database, I'm using esql, to get
 the information,
 but I I don't know how to get the pic's.
 
 I would appreciate all your Ideas and help !
 
 Thanks in advance.
 
 Gustavo
 INFOTEC
 
 

-
 Please check that your question has not already been
 answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science  Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: how to precompile the xsp ?

2001-07-03 Thread Mohamed Ramzy

hi,
XSP is the first thing to be compiled before any thing
in the file
--- Ling Kok Choon [EMAIL PROTECTED] wrote:
 hi,
 
I am developing a web application with Cocoon 2.
 But the xsp's performance is not very good ( 
 very slow ), so is it posible to precompile the xsp
 file ? and may i know how to do it ?
 
 Thank you.
 
 
 From Kok Cho0n.
 


 Name: Ling Kok Choon
 E-mail: Ling Kok Choon [EMAIL PROTECTED]
 Date: 06/26/01
 Time: 22:32:02
 
 This message was sent by Z-Mail Pro - from NetManage
 NetManage - delivers Standards Based IntraNet
 Solutions


 

-
 Please check that your question has not already been
 answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science  Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




XSP and DTD

2001-07-03 Thread Mohamed Ramzy

hi
i have a very strange problem, actually i'm passing
parameters from HTML file into .XML file. in the .XML
i'm using XSP to receive these parameters, i'm using a
DTD to include external entities. here is the code

?xml version=1.0?
?xml-stylesheet type=xsl href=xx.xsl?
?cocoon-process tye=xsp?
?cocoon-process type=xslt?

!DOCTYPE xsp [
!ENTITY % entite SYSTEM enes.xml
%entite;
]

xsp:page language=java 
xmlns:xsp=http://www.apache.org/1999/XSP/Core;

tst

item no=1
  xsp:exprrequest.getParameter(Price)/xsp:expr
/item
color no=1
.
.
.
.

/tst
/xsp:page

the problem that i get an XSP NullPointerException,
and i think may be because of xsp declared as the root
element  in the DOCTYPE part
but i don't know how to solve that, as XSP is the root
element and not tst.

i'm using Cocoon 1.8.2, apache Jserv/1.1 

please i need help as soon as possible..

thanks in advance

=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science  Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




passing parameters from XML file to XML file

2001-06-19 Thread Mohamed Ramzy

hi
i'm trying to pass parameters from XML file to another
XML file, i've checked the FAQ, but all what i found
is to pass through URL,but i want to pass a lot of
parameters without using URL, please i need help in
how to do that, i'm using linux redhat 6.1, Cocoon
1.8.2, ApacheJServ/1.1 over Apache 1.3.11

Thanks for your help

=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science  Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]