all groups > dotnet xml > may 2007 > threads for may 1 - 7, 2007
Filter by week: 1 2 3 4 5
Safe Multi User xml updates [best Practices??]
Posted by werD at 5/7/2007 1:57:01 PM
Hello,
Im wondering, what's the best method to allow multpiple users to update an
xml file at once. In my case, generally no user should be editing the same
piece of data at any given time however there may be ten+ users updating the
same xml file at once. The file has grown to somewhere al... more >>
XMLDataDocument.DataSet.ReadXML and redefining elements in an XSD file with <xs:redefine>
Posted by ERingmae NO[at]SPAM gmail.com at 5/7/2007 9:58:06 AM
Hi,
The environment is .NET 2.0, the language is C# and the problem is
reading XSD file with xs:redefine section correctly to a
XMLDataDocument.DataSet.
What I am trying to do:
I am trying to create a DataSet object from an XSD file by using
XMLDataDocument class.
I'm using the method
... more >>
Getting error 'The underlying connection was closed: The server committed an HTTP protocol violation'
Posted by Archana at 5/6/2007 11:24:45 PM
Hi all,
I am having application where i am downloading xml content using
webrequest. my code is as below
HttpWebRequest lWebRequest = (HttpWebRequest) WebRequest.Create(URL);
HttpWebResponse lWebResponse = (HttpWebResponse)
lWebRequest.GetResponse();
StreamReader lResponseStream = new
... more >>
class generated from XSD.exe will not generate XML?
Posted by Les Caudle at 5/6/2007 10:12:14 PM
Using this command line to run XSD.exe
xsd /c /o:outputDir input.xsd /f
on the following XSD
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:dino="http://example.com/test" targetNamespace="http://example.com/test"
elementFormDefault="qualified">
<element n... more >>
Problem with SelectNodes / SelectSingleNode
Posted by Ben at 5/6/2007 7:55:03 PM
Hi
We have the XML Below
<Products>
<Item Code="1">
<PN>Name</PN>
<PC>ProductCode</PC>
<MC>Manufacturer</MC>
......
</Item>
</Products>
I am trying to get the select nodes to work, basically I only want to select
items where MC = 'Manufacturer'.
The code below does not... more >>
XmlSerialization and extensibility of derived types
Posted by Stephen Walch at 5/5/2007 11:50:57 AM
Lets say I have designed my solution as a "base" assembly and a bunch of
"implementation" assemblies. The goal is that I can add new implementation
assemblies dynamically by declaring them in a config file. For example...
Base Assembly:
public abstract class A {}
public class B { pu... more >>
XmlSerializer and defaults
Posted by dmonder at 5/4/2007 3:03:35 PM
I am using the XMLSerializer to map the XML below to an object as
follows:
Config config
XmlSerializer xmls = new XmlSerializer( typeof( Config ) );
try {
TextReader tr = new StreamReader( "config.xml" );
config = (Config)xmls.Deserialize( tr );
tr.Close();
} catch ... more >>
MSXML issues in 64 bit
Posted by mrjaxon NO[at]SPAM gmail.com at 5/4/2007 10:28:41 AM
I have a C# web application which leverages MSXML that I am trying to
migrate to a 64 bit environment. Currently the application is built
on the .NET 2.0 Framework and using MSXML 6 (though I had the same
issues using version 4). The OS I am running the app on is Windows
Server 2003 x64. I am... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Performance Issue of XmlSerializer on Loop
Posted by jorge.fioranelli NO[at]SPAM gmail.com at 5/4/2007 8:11:17 AM
I'm testing application performance, and my first test was to call my
app multiple times to detect memory leaks.
But when I called my application method inside a loop, I saw that the
response time was being incremented with every call.
I have been monitoring the memory, cpu, and disk use, but I ... more >>
writing XML from string makes not well formed xml due to too many spaces
Posted by pantagruel at 5/3/2007 3:18:19 AM
Hi,
I've got an asp.net page here that someone else wrote and obviously
expected that it would work because it has been distributed with quite
a large application.
This page allows one to look up some various XML schemas by their
names, not sure where these schemas are actually found at bec... more >>
XPath Help
Posted by alien_attack NO[at]SPAM hotmail.com at 5/2/2007 11:15:29 AM
I have the followign XML document format.
<Asset>
<App Name="Title" Value"Pigs" />
<App Name="Rating" Value"G" />
</Asset>
I'm trying to figure out how to display the Title's value but being
sorted by the Rating's value.
So far I have.
Displays title: Asset_Metadata/App_Data[@Name = ... more >>
XmlDocument not being written to
Posted by C Sharp at 5/1/2007 3:54:18 PM
Hi Everyone,
I am using the following code to write out an XmlDocument that I have.
I create an XmlTextWriter and try to save / flush it. Earlier, I had
created an XmlElement (using xmlDoc.createElemenet("name') )
However, the xml file size is always 0. WHat could I be missing?
pri... more >>
|