POST, create XML, and Upload
I have an XML database, not related to Cocoon, that performs inserts, updates, or deletes by POSTing and XML document to a virtual URL. With Cocoon I need to have an HTML form collect info. I need to create a small, well-formed XML string (or document) and then POST it to the database via http with a Content-type of text/xml. I know how to collect data from the form and create the XML content. How do I get it to my database after that? Thanks for any help, [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]
XML include for masthead and navigation
Title: Message I know that this list is for Cocoon specific questions but with so many options available to me in Cocoon, I thought I might ask it here. I am using Cocoon 2 and would like to have standard headers and footers on every page. I have my site navigation in the Header. I would like the navigation to get its information from a totally seperate XML file that only has data (no presentation, XSL or logic, XSP). Something like this: menu item name="Home" uri="/welcome" item name="Services" uri="/services"/ item name="Products" uri="/services"/ /item item name="About Us" uri="/aboutus" /menu I don't want my individual pages to have any concept of this "menu.xml" file. I'd like to reference"menu.xml"from somewhere like XSL, read in the values and prepend the generated pages with the Header and this navigation content. The end result being, I can add and remove values from one file and have it can the navigation on all pages, instantly. What is the most simple way to do this in Cocoon 2? Thanks for any help, Richard