473,790 Members | 2,850 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML inside HTML textarea tags

2 New Member
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="#FFFFF F" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0 ">
<table bgcolor="#FFFFF F" width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr><td valign="top">
<!--Top Application Header-->
<table bgcolor="#2A1F5 5" width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td class="applicat ion">&nbsp;&nbs p;DB EDITOR</td>

<td align="right">< a href="http://www.idsk.com" target="_blank" ><img src="images/g_poweredby3.gi f" 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="#D5D3D E" 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%"><i mg src="images/g_graphic2.gif" width="96" height="21" alt="" border="0"></td>
</tr>
</table>

<table bgcolor="#2A1F5 5" width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="2"><im g 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_act ion.jsp">

<tr>
<td colspan="2" height="30"><im g src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td class="sectionh ead">Edit Field</td>
<td align="right">< input type="submit" name=update value="Update" height="16" width="34"><inp ut 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"><im g 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"><t extarea 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"><i nput name="newsid" class="input200 " size="25" maxlength="255" ></td></tr>-->
</table>
</td>
</tr>
<tr><td colspan="2" height="20"><im g 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"><inp ut 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 6437

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

Similar topics

9
9363
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 is done in PHPMyadmin for example...is there an easy way to do this? In a way i'm asking the browser to suspend rendering markup.
4
2828
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> <form name="results" method="post"> Number of players:<input type ="textarea" name="number_players">
4
14692
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 i can get proper signature with html function.
2
2919
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 text instead. But I want to keep the format of my page EXACTLY the same. However, the problem is that ... 1) Javascript won't let me create say a one-cell TABLE containing some text (e.g. textarea's value) and then insertBefore an element in the
6
5993
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 think my way around. I am using a <textarea> to display the code but some of my scripts have <textarea> tags in them and when the </textarea> tag is entered, it closes my <textarea> and the rest of the code ends up outside of the textarea.
0
3512
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 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...
4
4035
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
16976
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 examples I found on the web. Works in IE and mozilla. http://www.imaputz.com/cssStuff/bigFourVersion.html
2
2151
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> </head> <body>
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7530
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3707
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.