You are not logged in. Login Now
 0-7          
 
Author Message
nharmon
AJAX Discussion Mark Unseen   Aug 28 19:48 UTC 2007

Discuss AJAX web programming here.
7 responses total.
nharmon
response 1 of 7: Mark Unseen   Aug 28 19:54 UTC 2007

I'm writing this AJAX application and was finding that only parts of
certain elements, specifically anything before the first HTML tag in the
element.

So let's say you have an XML document and one of the elements is a name:

<name>John Smith <a href="mailto:johnsmith@cnbc.com">email</a></name>

You would think that the element would contain everything between <name>
and </name>, but it doesn't. It only includes everything between <name>
and <a...

And before you say anything along the lines of adding the e-mail address
as another element, this is only an example. Sometimes database fields
include HTML.
nharmon
response 2 of 7: Mark Unseen   Aug 28 19:55 UTC 2007

So, I'm wondering how you would go about passing the HTML though. Any ideas?
nharmon
response 3 of 7: Mark Unseen   Aug 28 21:20 UTC 2007

This is too good. Apparently the way to do this would be to write the 
element like this:


<name>John Smith &lt;a
href="mailto:johnsmith@cnbc.com"&gt;email&lt;/a&gt;</name>
mcnally
response 4 of 7: Mark Unseen   Aug 29 01:19 UTC 2007

 Sounds like you've got a stack problem in your XML parser.
trancequility
response 5 of 7: Mark Unseen   Sep 13 02:48 UTC 2007

nharmon hasn't learned what escape sequences are yet.
nharmon
response 6 of 7: Mark Unseen   Sep 13 14:29 UTC 2007

I have a feeling I knew about escape characters before you ever touched
Linux.
trancequility
response 7 of 7: Mark Unseen   Sep 14 00:30 UTC 2007

Is this why you couldn't get your original code to work you moron? If you knew
about escape chars, you wouldn't have posted such a retarded ass question you
fucking stupid shit.
 0-7          
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss