473,287 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

XML inside HTML textarea tags

Hi all,

I'm fairly new to web development so bare with me.

The html page that i've created isn't working and i can't figure out why. I'm guessing there are some rules that need to be followed when putting xml between the <textarea></textarea> tags. The textarea and the submit buttons are located inside <form> tags. When a button is pressed it calls a jsp page to do the processing needed. For some xml content it works nicely....for others i cant get to that jsp that handles processing. No errors are being generated so its making it difficult for me to catch. Here is the html generated (minus the xml):

<html>
<head>
<title>DB Editor</title>
<link REL="stylesheet" Type="text/css" HREF="dbeditor_style.css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table bgcolor="#FFFFFF" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td valign="top">
<!--Top Application Header-->
<table bgcolor="#2A1F55" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="application">&nbsp;&nbsp;DB EDITOR</td>

<td align="right"><a href="http://www.idsk.com" target="_blank"><img src="images/g_poweredby3.gif" width="145" height="26" alt="Powered By InfoDesk" border="0"></a><img src="images/g_graphic1.gif" width="96" height="34" alt="" border="0"></td>
</tr>
</table>
<table bgcolor="#D5D3DE" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="index.jsp"><img src="images/b_logout.gif" width="60" height="21" alt="" border="0"></a></td>
<td align="right" width="100%"><img src="images/g_graphic2.gif" width="96" height="21" alt="" border="0"></td>
</tr>
</table>

<table bgcolor="#2A1F55" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
</table>


<!--End of Top Application Header-->
<!--Content Area-->
<table border="0" cellspacing="0" cellpadding="0" align="center" valign="top">
<tr><td valign="top" width="600">
<table width="600" border="0" cellspacing="0" cellpadding="0" align="left">
<form action="db3_action.jsp">

<tr>
<td colspan="2" height="30"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td class="sectionhead">Edit Field</td>
<td align="right"><input type="submit" name=update value="Update" height="16" width="34"><input type="submit" name=cancel value="Cancel" height="16" width="34"></td>
</tr>
<tr><td class="rule1" colspan="2" height="1"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>

<tr><td colspan="2" height="10"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>

<tr><td width="125" valign="top"><b>story</b></td><td valign="top"><textarea name="xx" rows="30" cols="40" class="input350"></textarea></td></tr>
<!--<tr><td width="125" valign="top"><b>[field name2]</b></td><td valign="top"><input name="newsid" class="input200" size="25" maxlength="255"></td></tr>-->
</table>
</td>
</tr>
<tr><td colspan="2" height="20"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td class="rule1" colspan="2" height="1"><img src="images/blank.gif" width="1" height="1" border="0"></td>

</tr>
<tr><td colspan="2" height="5"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td colspan="2" align="right"><input type="submit" name=update value="Update" height="16" width="34"><input type="submit" name=cancel value="Cancel" height="16" width="34"></td>
</tr>
</form>
</table>
</td></tr>
</table>
<!--End of Content Area-->
</td></tr>
</table>

Sorry I couldnt include the xml portion. Not sure how much i can post online without getting in trouble. Any ideas?

Lawrence
Jun 19 '06 #1
0 6406

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Hal Halloway | last post by:
I want a text editor inside a form's textarea, So I would see html markup and html entities - just like a text editor. I also would want to be able to edit it all just like a text editor - this...
4
by: google | last post by:
I would like to print a table, using a while loop to insert as many blank text fields as players specified by the user. How do I put html inside a php loop. This is what I have.... <body>...
4
by: megha | last post by:
Hi all I am adding signature in textarea which is stored as text in database now if i add html tags to it and later retrieve it in textarea it shows all tags of html but not their function. How...
2
by: Asad | last post by:
I have a form on a page that has several textareas, and textboxes inside a table (so the table containing the textboxes is also inside the FORM tag). I want to replace the textareas with simple...
6
by: wperry1 | last post by:
I am writing a small database utility to catalog all of my favorite ASM/JS/VBS... functions and scripts on an asp page. Everything is going smoothly except for one thing that I can't quite seem to...
0
by: lawrenceS59 | last post by:
Hi all, I'm fairly new to web development so bare with me. The html page that i've created isn't working and i can't figure out why. I'm guessing there are some rules that need to be...
4
by: joe | last post by:
Hi, I defined: <div id="abc"> </div> in my .html file, after an Ajax query my weberserver sends: <script language="JavaScript"> alert('Hello World!"); </script>
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
2
by: lynx129 | last post by:
Hi there , I have php script that works fine under my server but I dont know how to put the html code inside my site. feedback.html <html dir="rtl"> <head> <title> ????? ??? </title>...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.