I have an ASP.NET 1.1 form gathering data on a public-facing site, within a DMZ. The data is represented by a serializable class. My problem is that I need to serialize, encrypt and transmit the data to a Web Service running on an internal server - the service logic should then decrypt and deserialize the data before writing the XML to a...
I have an import file that needs to have skip and continue on specific errors. I want to ignore the errors for data type, min/max length, and required fields. I want to catch and display errors about items not formatted correctly and in the wrong location.
In this case the file contains a collection of people.
I want to catch are err...
UPDATE:
Hi,
I've narrowed down the problem(s) and it appears to be in this part of the code:
<script type="text/javascript">
oxm_ad = {"website":"cca5e4b8-7ed2-848b-ffea-037efaac851a",
"size":"468x60",
"floor":"0.1",
"beacon":"<div id='beacon_f936906f11' style='position: absolute; left: 0px; top: 0px; visibility: hidden;'><img src='h...
I will be reading a tag from xml and assign it to a variable, ID.
ID=(x[i].getElementsByTagName("ID-NUM")[0].childNodes[0].nodeValue);
How could I use the variable, ID, as the button value to display?
document.write("<input type = button value = ID style='width:100'><br><br>");
Kindly let me know if I an not clear, thanks.
...
Hey everyone,
I'm a newbie at this, so bear with me for a second.
I have a dictionary like so:
var dict = new Dictionary<int, SalesStatistics>();
SalesStatistics is a custom class; that contains various information about products. The key field holds the ProductId.
I need to iterate across this dictionary, and for each ProductId i...
<Eedata>
<FName> ABC </FName>
<MName> R </MName>
<LName> XYZ </LName>
<Hrs/>
</Eedata>
I want to remove the empty tags from xml in Java, so the xml will look like below
<Eedata>
<FName> ABC </FName>
<MName> R </MName>
<LName> XYZ </LName>
</Eedata>
Same question was asked in this post here http://stackoverflow.c...
I have xml file "Strings.resx" for translation and i want to make some text highlighted i tried to put span some thing like this
<span style="background: red;color: #000000;">VERDERGAAT</span>
and it doesn't work.
...
Is it possible to validate the following xml with the following schema?
I'd like to validate the xml without specifying the schema in the xml file.
I'm not sure if this is possible or not, but would appreciate some help figuring out how to do it.
I keep getting the following error when I attempt to validate the xml.
org.xml.sax.SAXPar...
I've used the .Net class RSACryptoServiceProvider to get a keypair:
using (RSACryptoServiceProvider rsa = new RSACryptoServiceProvider())
{
File.WriteAllText ("PublicKeyOnly.xml", rsa.ToXmlString (false));
File.WriteAllText ("PublicPrivate.xml", rsa.ToXmlString (true));
}
Now, I would like to use this with openSSH, but the key for...
I've created my own view by creating a subclass of the SurfaceView class.
However I can't figure out how to add it from the xml layout file. My current main.xml looks like this:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:...
Hi,
I am reading through a plethora of articles at the moment to try to assist me.. just seems so many options and cannot seem to find a clean solution.. it probably is very basic so apologies in advance!
So I have an XML field in SQL 2008. It basically contains something like:
<root><id>1</id><id>4</id></root> and so on...
What I ...
I was trying out the bit.ly api for shorterning and got it to work. It returns to my script an xml document. I wanted to extract out the tag but cant seem to parse it properly.
askfor = urllib2.Request(full_url)
response = urllib2.urlopen(askfor)
the_page = response.read()
So the_page contains the xml document. I tried:
from xml.dom...
I found the [] operator is sometimes confusing when it is used agains SimpleXMLElement object.
$level_a = $xml->children();
$level_a['name']; # this returns the 'name' attribute of level_a (SimpleXmlElement object)
$level_a[0]; # this returns $level_a itself!
$level_a[1]; # this returns the second SimpleXmlElement obj...
how we can add node to tree view dynamically in c#
...
Hi, I have a massive set of classes I need to create from an XML file that I'd really not like to do by hand. What I'd really like to do is somehow generate a LINQ DataContext so I can use VisualStudio to build a SQL database from the DataContext.
I'm aware that I can generate XSD and C# classes from the XML file, but are there any tool...
Hi
I'm currently working with creation and validation of XBRL instance documents in C#, and I've run into some problems regarding the XBRL instance schema file:
http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd
According to the .NET schema validator, the schema is not valid. It throws the following exception:
System.Xml.Schema.Xm...
Hi,
I am trying to enumerate all the namespaces in a document using XPath.
The following works in xmlspy, but not in .NET
//*/namespace-uri(.)
// Executing this in linqpad, I get the error below.
xml.CreateNavigator().Select("//*/namespace-uri(.)").Dump();
// the error below.
XPathException: ('//*/namespace-uri(.)' has an invalid toke...
I have a linear layout in which each row is inflated programatically and I want the rows to behave like the ListView when clicked on. That is, I want the row to highlight in the exact same way/colour that the default ListView does. How would I go about doing this?
...
Hi frnds
I wann develop J2ME application ..
in this application i've to use XML parsing ..
so plz tell me how i can do this...
currently i'm using ECLIPSE IDE....
on Internet I got lots of source code but...there is conman problem "java.lang.NoClassDefFoundError: org/kxml/parser/XmlParser" .. so I'm not able to solve this problem....../...
Hello Everybody,
I am working on Parsing right now, So can anybody please through some light pertaining to what XMl Parsing is basically being done and I would appreciate it greatly if somebody who knows it can give me any example for the same.
Thanks in Advance,
john
...