Do XML Attributes HURT VB.Net DATAVIEWS????
Thu, 15 May 2008 17:30:03 -0700
I don't know how else to put this, because I'm new to VB.net but here
goes...
I'm trying to create a DataView from an XML file. Some of the nodes
in the XML file happen to have Attributes, others do not. Lets use
the following as an example:
<MyXml>
<ANode>
<ANodeWithNoAttribute>Hello</ANodeWithN ...
|
Stripping namespace
Wed, 14 May 2008 11:09:50 +0100
Given an XmlNode with namespace (NamespaceURI has a value), I want to be
able to make a clone of it (XmlNode.CloneNode) but without the namespace.
How can I strip the namespace from a node?
...
|
how to make an xml schema?
Tue, 13 May 2008 13:51:22 -0400
I have to write an xml schema but don't remember exactly how to do that. I
tried using a bunch of different kinds of schema designers but something
doesn't seem right. One of them told me the following code was invalid:
<xs:element name ="Contract">
<xs:ComplexType>
</xs:ComplexType>
</xs:element>
it sa ...
|
Re: not supported (error)
Tue, 13 May 2008 19:11:09 +0200
csharpula csharp wrote:
> Hello I keep getting such error:
>
> The 'http://www.w3.org/2001/XMLSchema:restriction' element is not
> supported in this context.
>
> for the following xsd element:
>
> <xs:element name="Name" type="xs:NCName">
> <xs:restriction base="xs:string">
> <xs:enumeration value ...
|
How to read from different'levels' of xml to a datagridview?
Mon, 12 May 2008 13:33:43 -0700 (PDT)
I have the following XML file (Called CustomerList.xml) ...
<?xml version="1.0" encoding="utf-8"?>
<customerList xmlns="http://tempuri.org/CustomerListSchema.xsd">
<customer>
<CompanyName>Company One</CompanyName>
<ContactName>Joe</ContactName>
<Email>Joe@CompanyOne.com</Email>
<Phone>01234 567890< ...
|
httputility.urlencode(doc.outerxml) as a http xml post
Mon, 12 May 2008 09:18:50 -0500
Hi
I'm not sure whether I should send this as a new message or use the one I've
been using but...
I'm using vb.net 2.0 -
My problem is I need to send
something like this: 'dim encodedstring = "test=" +
httputility.urlencode(doc.outerxml)' as a http xml post and then need to
receive it on other end for a te ...
|
what's wrong with xml post code?
Sat, 10 May 2008 18:17:16 -0500
Hi
Trying to get this code to work for http xml post.
I need the post to be xml (doc.outerxml) sent in single key name as stream.
The following is the post code and code for receiving the request.
When it hits the "myresponse = myrequest.GetResponse()" in the post code -
I'm getting following error:
"The remo ...
|
|
|
How do I serialize element references as IDREFs?
Fri, 9 May 2008 01:05:00 -0700
Hi,
Is it possible in .NET XML serialization to store element references in
attributes, maybe using IDs and IDREF? For element references, I always get a
copy of the element instead of a reference in the XML code.
That's what I want:
<FlightData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
x ...
|
http xml post
Thu, 8 May 2008 17:14:22 -0500
Hi
I'm working on a http xml post (request/response).
In my testing - I have been able to create and post xml string/stream and
send response
back.
But now I've been told that I should "code the whole xml payload string as a
single key"
I'm not sure what this means and haven't been able to find anyth ...
|
What is the Best XML API for .NET 3.5?
Thu, 8 May 2008 07:01:03 -0700
IĆ¢??m starting a new project which will dynamically generate (user will have to
pick and choose data, then generate the XML dynamically) RDLC for Reporting.
My approach was to use LINQ to XML for the API. My question is what is the
best API to use? Performance is no concern, most critical factor is that the ...
|