Sorry if this issue has been beaten to death, but I can't seem to find a good answer to my question.
I have written a .NET 2.0 client that consumes a web service. The web method I call returns several DateTime values in UTC format.
It appears that the values are being deserialized as DateTimeKind.Local. I assume this is the default...
I have to read the XML:
<items>
<item>
<prop1>value1</prop1>
<prop2>value2</prop2>
<prop3>value3</prop3>
</item>
<item>
<prop1>value1</prop1>
<prop2>value2</prop2>
<prop3>value3</prop3>
</item>
</items>
And put the values into a List<CLASS>.
Some options:
Use XMLSerializer to dese...
I've added a Service Reference for a third-party web service to my project. When i send a request to a webservice using the generated method, the request fails saying that it is missing the XML prolog.
How can I add:
<?xml version="1.0" encoding="UTF-8"?>
to the begining of the request before sending it?
This is a C# web applicatio...
hi,
I'd like to change my template on my blog;
I design a template using the gaint PhotoShop
but; how can I make template of blogger from PSD files !
...
Dear ladies and sirs.
I am new to XMLs/XSDs/XSLs. I have two XSDs. I wish to generate an XSL that would translate XML files complying with the first XSD to respective XML files complying with the second XSD.
I reckon there are tools that automate this task, given some help from the human, of course.
Do any of you know of such tools?
...
Hi,
I have an XML schema and an XML data file.
I've implemented it in Excel and it works great.
I want to Automate the process using vb.
I want to open the xls file, the schema is already mapped in the file.
then I want to import the XML data file and print a selected working sheet.
this is the code that I have to open the file and t...
Does any one know what is the exact usage of xmlns in HTML, XML files?
Edit: Why do we need this namespace? What is its usage?
...
I have to pass back information from a different source and can have a transformation in between, But depending on if the source document has the xml processing instruction, I have to pass it on and if it doesnt, I shouldnt pass it on.
Input
<?xml version="1.0" encoding="UTF-8"?>
<Source/>
Output
<?xml version="1.0" encoding="UTF-8...
Hi,
I am trying to use a gSoap-generated wsdl from Netbeans. The webservice requires that the UserNameToken be passed in. When I use the wsdl from SoapUI (which works), it sends this:
<wsse:Username>myname</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordTex...
How can I parse my local XML file located in my android project (inside res/XML folder) and want to get the values in that file.
...
I have an XML file below and I want to create multiple files:
<ParentNode> file1:
<ChildNode> <ParentNode>
<node></node> <ChildNode>
</childNode> <node></node>
<ChildNod...
Is it possible for a .xsd file to also validate a .xml file by encoding type?
We have a system which can not read xml files starting like this:
<?xml version="1.0" encoding="utf-16" standalone="yes"?>
So I want to validate them before feeding them to that system and check if they start with
<?xml version="1.0" encoding="utf-8" stand...
Hi,
Here is an XML:
<nodes>
<node id="0" a="hello" b="this"/>
<node id="1" c="is" d="a" e="test"/>
</nodes>
Is there a way, using E4X Filtering to find the node(s) who has an attribute with "this" as value ?
...
Current state:
A router is loaded from xml file
two route name within the router are going to the same controller and action, for example: www-language-employee and www-language-trainer are going to the same controller and action --> EmployeeController & listemployeeAction
Problem:
- Need to know which route name is dispatched/being ...
Hi everyone,
I've been wondering if there's a way to parse XML in Objective C as easily as parsing with SimpleXML in PHP.
The only existing methods I know are the following:
Use of NSXMLParser and create a delegate to handle the events triggered upon encountering XML elements, values, etc...
Use of libxml2 based framework such as Tou...
I'd like to parse a simple, small XML file using python however work on pyXML seems to have ceased. I'd like to use python 2.6 if possible. Can anyone recommend an XML parser that will work with 2.6?
Thanks
...
I'm working on an XML Schema which is going to be used for data transfer between a number of applications, not all under our control. The core data is going to be the same for all, but we want to allow specific applications to store additional data to allow "round-tripping" of the files so they can save and reload and not lose anything t...
I want to store configuration information about my DLL in an XML file inside my DLL i.e. if changes need to be made the DLL must be re-compiled.
The reason is because its a elegant format and I may not use config files for this DLL.
Any ideas? I literally want to be able to edit an xml in Visual Studio then compile it and only see a D...
I'm about to delete certain elements in an XML document, using code like the following:
NodeList nodes = ...;
for (int i = 0; i < nodes.getLength(); i++) {
Element e = (Element)nodes.item(i);
if (certain criteria involving Element e) {
e.getParentNode().removeChild(e);
}
}
Will this interfere with proper traversal of the Nod...
If it ok and recommanded to use a xml column to store any extra data that the user interface might provide?
For example, suppose an Employee table
CREATE TABLE Employee
(
EmployeeId int not null,
Name nvarchar(300) not null,
Phone varchar(30) null,
Email varchar(320) null,
Address nvarchar(max) null,
Data xml nu...