Hi,
I have an xml file that is written and it writes the & like "&", without
the quotes. When I go to read it back in, it reads it as "&" instead of "&"
which is what I need. How would I go about doing this?
Thanks,
Renzska 4 1622
I just used a temporary string and did a regex.replace to fix this issue, but
I am still wondering if there is a way without having to do that.
Thanks,
Renzska
"Renzska" wrote: Hi,
I have an xml file that is written and it writes the & like "&", without the quotes. When I go to read it back in, it reads it as "&" instead of "&" which is what I need. How would I go about doing this?
Thanks,
Renzska
Not familiar but should't quotes be encoded as well ?
Patrice
--
"Renzska" <Re*****@discussions.microsoft.com> a écrit dans le message de
news:E1**********************************@microsof t.com... Hi,
I have an xml file that is written and it writes the & like "&",
without the quotes. When I go to read it back in, it reads it as "&" instead of
"&" which is what I need. How would I go about doing this?
Thanks,
Renzska
"Renzska" <Re*****@discussions.microsoft.com> wrote in message
news:E1**********************************@microsof t.com... Hi,
I have an xml file that is written and it writes the & like "&",
without the quotes. When I go to read it back in, it reads it as "&" instead of
"&" which is what I need. How would I go about doing this?
Thanks,
Renzska
You might also look into cdata as in
<xmlitemname><![CDATA[Some text & some more text]]></xmlitemname>
mike
The quotes were to signify what was contained in the xml file.
I've got it working now though so we can consider this question resolved.
Thanks,
Renzska
"Renzska" wrote: Hi,
I have an xml file that is written and it writes the & like "&", without the quotes. When I go to read it back in, it reads it as "&" instead of "&" which is what I need. How would I go about doing this?
Thanks,
Renzska This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ian justice |
last post by:
Before i post actual code, as i need a speedyish reply.
Can i first ask if anyone knows off the top of their head, if there is
a likely obvious cause to the following problem.
For the moment i've...
|
by: 21novembre |
last post by:
Hi all,
I made a question several days before to describe my strange trouble of
mysqldump. But I still can't figour it out. Well, I just want to ask
another question whether I could just backup...
|
by: barney |
last post by:
Hello,
I' m using .NET System.Xml.XmlDOcument.
When I do the following:
XmlDocument xml = new XmlDocument();
xml.Load("blah");
....
xml.Save("blub");
I've got the problem that the following...
|
by: kma |
last post by:
I am designing an Access 2000 database on a computer running Windows 98.
I have one form with several tabs; all of which have sub forms, some
with a subform on a subform.
For example, on my...
|
by: martin |
last post by:
Hi,
I would be extremly grateful for some help on producing an xml fragemt.
The fragment that I wish to produce should look like this
<Addresses>
<Address>&qout;Somebody's Name"...
|
by: Renzska |
last post by:
Hi,
I have an xml file that is written and it writes the & like "&", without
the quotes. When I go to read it back in, it reads it as "&" instead of "&"
which is what I need. How would I go...
|
by: Arne |
last post by:
A lot of Firefox users I know, says they have problems with validation
where the ampersand sign has to be written as & to be valid. I don't
have Firefox my self and don't wont to install it only...
|
by: divya |
last post by:
Hi,
I have a table tblbwday with 2 fields Name and Birthday.I have written
this script for displaying evryday names of the people on that day.
<%
set objConn...
|
by: Ragnar |
last post by:
Hi,
2 issues left with my tidy-work:
1) Tidy transforms a "&" in the source-xml into a "&" in the tidied
version. My XML-Importer cannot handle it
2) in a long <title>-string a wrap is...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |