Questions tagged [xnamespace]
23 questions
0
votes
2 answers
How to set element value with namespace in linq?
I am developing silverlight web part for sharepoint 2010. I have an xml file in my application as follows
INVOICE
…

Shailesh Jaiswal
- 3,606
- 13
- 73
- 124
0
votes
1 answer
XNamespace as additional attribute, why
I want to achieve this:

Klik Kliković
- 364
- 1
- 5
- 13
0
votes
1 answer
0
votes
1 answer
XNamespace in C#
i am building an XML using XDocument.this is my code
var ns = XNamespace.Get("url");
XDocument requestXMl = new XDocument(
new XElement(ns+"WEB_REQUEST",
new XElement("HTTP_HEADER_INFORMATION",
…

grace
- 253
- 1
- 5
- 17
0
votes
1 answer
why is item is null in xml document?
I have created the following xml file:
-
6945
1222.00
…

user603007
- 11,416
- 39
- 104
- 168
0
votes
1 answer
XPath / linq to xml: xmlns=""testNS"" results in no result
a xml file/string can be validated but yields no results if queried by XPath or linq to xml.
The difference is: xmlns=""testNS"" xsi:... in the example strings. Without this xmlns=... it works and without it doesn't (but it validates).
The following…
0
votes
1 answer
Controling XElement Attribute Namespace Names
I'm in the process of building an export engine that will take our company's data and export it as XML based on the pattern provided in our database. One of the exports I need to implement must have the xsi:nil="true" attribute added to the element…

KevinK
- 1
- 1
-1
votes
1 answer
How to Create complex XML structure in C#
In my application, i have to work with the PayGate API for processing online payment.
The requests must be in the following format:
…

Dima Shmushkin
- 19
- 5