cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arif Natha <>
Subject xml/xsl/xsp
Date Wed, 15 Aug 2001 10:16:17 GMT

please could you give me a hand with this.

need help
ok ive got this far, needed to create an HTML form with a text input field -
which ive done
what i need to do - using xml&xsl, create an HTML form
that submits to the page that i created i the(the xml & xsl file
i created that generated an HTML page saying Hello World)
which should be modified to display any text entered by the user instead of
Hello World.
i ran it it does not work, where am i going wrong?
my xml is not picking up what i type in the message field
any help please?
using apache webserver with cocoon


<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="ref.xsl" type="text/xsl"?>

  xmlns:xsp="" language="java"
    String msg = "Hello, world!";



xsl file

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"

<xsl:template match="/">
<h1 style="color:green;"><xsl:value-of select="//title"/></h1>




<form name="input" action="/resweb/arif/ref.xml">
Message Text:
<input id="user" type="text" name="user">
<input type="submit" value="Submit">


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message