xsp and dtd
is it possible to generate document type declaration DTD dynamic using xsp i'm thinking to generate something like !DOCTYPE thePage [ !ENTITY remote SYSTEM http://www.osmosis.gr/xml/xsp-plain/esql; ] dynamic in a xsp the problep is that all this string are before xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/ ... ... ... so i can not put instruction outside xsp:page element i want to be able to parse to href for remote entity as a parameter) the goal is to have a .xsp file that will include an other one .xml file. the included .xml will be relative to a parameter demo.xsp?includeFile=http://a.url.com/external.xml thanx - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSP - XML DTD validation
Is it possible for cocoon to test the validity of an XML file that is generated by a XSP file? Thanks Sharat Koya - 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: XSP - XML DTD validation
From: [EMAIL PROTECTED] Is it possible for cocoon to test the validity of an XML file that is generated by a XSP file? Yes. Make the pipeline that checks get as imput the result of another pipeline that generates using XSP. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - 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: XSP - XML DTD validation
Don't understand exactly what you mean? Pipeline: 1. Generate XSP, 2. Inline DTD doctype? 3. Perform rest of the functions. Is that correct? -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: Sunday, 17 March 2002 19:15 To: [EMAIL PROTECTED] Subject: Re: XSP - XML DTD validation From: [EMAIL PROTECTED] Is it possible for cocoon to test the validity of an XML file that is generated by a XSP file? Yes. Make the pipeline that checks get as imput the result of another pipeline that generates using XSP. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - 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] - 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: XSP - XML DTD validation
From: Sharat Koya [EMAIL PROTECTED] Don't understand exactly what you mean? You define two pipelines. One generates the XSP and outputs XML. The other Generates with the FileGenerator taking the output of the pirst pipeline as input, thus validating. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - 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
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]