Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > dotnet xml > october 2004 > threads for october 1 - 7, 2004

Filter by week: 1 2 3 4 5

Howto: Add XML Attributes to a dataset?
Posted by Pipo at 10/7/2004 8:53:05 PM
Hi, I fill myDataset from a Excel file. Then I do a myDataset.WriteXML("C:\MyXML.xml") So far everything goes as I want to. But I need a attribute when a node has a value e.g.: I get: <Node1 /> <Node2>SomeValue</Node2> <Node1 /> What I need is: <Node1 /> <Node2 Changed="True">Som...more >>

Can xml request go through firewall by using web service?
Posted by Information at 10/7/2004 6:17:01 PM
Hi, I am doing a course project now for practive xml. I heard from somewhere that xml request can go through firewall. currently in our school there is a firewall which only can log on by vpn when user is outside firewall. I want to create a web form which can save the data into the databas...more >>

WSE 2.0 sample certificate
Posted by Tony at 10/7/2004 1:31:05 PM
Anyone use WSE 2.0 sample certificates? I import them into Local Machine/Current User certificate store, but I got "This CA Root certificate is not trusted because it is not in the Trusted Root Certification Authorities store." How can I got the CA Root certificate of the issuer "Root Agency...more >>

XmlTextReader, unicode problem, help?
Posted by mikehodges NO[at]SPAM hotmail.com at 10/7/2004 12:14:31 PM
http://support.microsoft.com/default.aspx?scid=kb;en-us;815658 The page above solved all of my problems with one exception. When the file has strange data in it, possibly Japanese, I get the following error: System.Xml.XmlException: '&#9788;', hexadecimal value 0x0F, is an invalid characte...more >>

saving xsltransform to a file
Posted by steve at 10/7/2004 7:55:35 AM
Hi I would like to save a cached version of an xsltransform class to a file but can find no way of serializing it or getting at the string representation of the stylesheet I could load the stylesheet into a reader, create a copy and use one to write to the transform class, one to the cac...more >>

How do I read an XmlDocument object into a dataset???
Posted by Kewlpack at 10/7/2004 7:54:51 AM
I need to read an in-memory instance of a loaded XmlDocument into a referenced DataSet. What's the best way to do this? I've tried "myDataSet.ReadXml(myXmlDocument)" but it won't compile. I get a compile error because the XmlDocument type isn't accepted by the ReadXml() method. I need to...more >>

Trying to Get Subset of XML
Posted by Wayne Wengert at 10/7/2004 5:56:54 AM
I want to display a segment of an XML (see below) file in a datagrid. I want to select a specific <EventID> and get all of its children into a dataset so that I can bind a datagrid to those values. I am trying an expression as follows but I get an error "Value of type 'System.Xml.XmlNode' cannot...more >>

Strange missing dots in xslt output
Posted by MikeeMike at 10/7/2004 5:49:03 AM
Hi, We're having a problem with some HTML output from an XSL translation that seems to have full stops (or dots, periods, or whatever you want to call them) removed. We have a piece of XSLT something like so: <a href="{dl:BuildLink($SomeParamHere)}" class="linkStandard"><xsl:copy-of s...more >>



Selecting one column from an XML table
Posted by davidbrower NO[at]SPAM hotmail.com at 10/7/2004 2:45:10 AM
Hi Folks, I have a ADO.NET Dataset in the following format: <Dyelots> <Batch> <batch_id>38084</batch_id> <shade_name>03880</shade_name> <article>2994120</article> .... </Batch> <Dyelots> Presently this data is loaded into a data grid from which screen a series of ...more >>

What does msdata:Ordinal="0" mean?
Posted by Don at 10/6/2004 3:30:04 PM
I am updating my XSD schema but am not sure what msdata means? Any direction to a good online reference would be great. Thanks, Don ...more >>

Saving/Loading Xml to/from an Xml file
Posted by Carl Gilbert at 10/6/2004 11:40:02 AM
Hi I have a function called GetXml that returns Xml as expected. I then use: Dim saveFile As New SaveFileDialog and the configure saveFile. Having got the file and the Xml, how can I then write the Xml to the file? Also, how could I load the Xml back in to a string using an OpenFile...more >>

Server-Side Xml Control
Posted by msoegrad NO[at]SPAM gmail.com at 10/6/2004 6:48:48 AM
I am using Visual Studio 2003 with ASP 1.1. I am trying to display xml that I generate at runtime on an ASP Page below a data grid. I am trying to use the Xml Server side control System.Web.UI.WebControls.Xml. The documentation says that if you don't provide a transform with the document then...more >>

XmlDocument converts &quot;
Posted by b-gumble NO[at]SPAM gmx.net at 10/6/2004 6:28:23 AM
Hello, I' m using .NET System.Xml.XmlDOcument. When I do the following: XmlDocument xml = new XmlDocument(); xml.Load("blah"); .... xml.Save("blub"); I've got the problem that the following expression: .... snip ... <Comment>&apos;Depot&apos;</Comment> .... snip ... gets converte...more >>

Using XML to serialize a SQL Query
Posted by Bob at 10/6/2004 6:21:04 AM
Let me state up front that I know very little about XML. My experience is pretty much limited using the XML Serializer to serialize a user preferences class to a file and back again. I'm writing a rules engine for an application that basically involves allowing the user to enter the the WHE...more >>

Bug in MSXML / XML Parser .Net
Posted by Michael at 10/6/2004 5:07:01 AM
Hi, I have a problem parsing XML file using XSLT stylesheet by using : using System.Xml; using System.Xml.XPath; using System.Xml.Xsl; // load Xsl stylesheet XslTransform myXslTrans = new XslTransform() ; myXslTrans.Load(Server.MapPath("stylesheet.xslt")); // load the Xml doc...more >>

Xml and Serialization.
Posted by olivier aka Cypher at 10/6/2004 2:39:02 AM
Hi, I would like to display some properties of an object of mine as XmlElement "Content", not as an nested Element That is : <.MyObject> TheValueGoesHere <./MyObject> currently it display as : <.MyObject> <.The_Value>TheValueGoesHere<./The_Value> <./MyObject> How do I do ? ...more >>

xsd.exe Object reference not set to an instance of an object.
Posted by Reader at 10/5/2004 4:24:23 PM
I am trying to generate a class from an xsd and i get this error. Microsoft (R) Xml Schemas/DataTypes support utility [Microsoft (R) .NET Framework, Version 1.1.4322.573] Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Error: Error generating classes for schema 'adf_messa...more >>

Please help, date problem with XSD file
Posted by Rajender at 10/5/2004 3:07:02 PM
I am getting the error: Invalid character value for cast specification In my xml file the date is like this: 2004-09-28T00:00:00.0000000-04:00 Because of the field eventdate which is dt:datetime in my xsd file. ******* MY XSD file <?xml version="1.0" ?> <Schema xmlns="urn:schemas-micro...more >>

System.xml in IE
Posted by Marius Trælnes at 10/5/2004 2:00:20 PM
Hello! Is it possible to use system.xml classes in Internet Explorer? I wonder about this because we have an application that depends very much on msxml on the client, using data islands, xmlhttp and such. The reason I wonder about this is because of the future. How long will msxml last? Wil...more >>

Get data out of a dataset.
Posted by MA at 10/5/2004 11:28:38 AM
Hi all! I use a dataset.ReadXML() to fill a dataset with data. With this I get different tables and relations availible in my dataset. What I´m wondering is: wich is the easy way to go here if I want to get specific values with "childvalues" via relations, out of this. Like a kind of sql:...more >>

Load XML from the web
Posted by Sebastián at 10/5/2004 11:08:57 AM
Hi all! I have a quick question. How can I do to load an xml document from the web. Should I use the XMLDocument or some http class. TIA, Sebastián ...more >>

Check Constraints
Posted by fewgoodpeople NO[at]SPAM hotmail.com at 10/4/2004 2:08:16 PM
Is schematron the most popular way to do branching (conditional validation) on dot Net platform?...more >>

.NET doesn't support xsd:extension and xsd:attribute??
Posted by trexim at 10/4/2004 10:40:44 AM
It seems that .NET does not support xsd:extension and xsd:attribute. What is the alternative? Thanks, ...more >>

Webservice adds XML node to xsd!?
Posted by michael.liehmann NO[at]SPAM usa.net at 10/4/2004 9:28:23 AM
I have a xsd and a wsdl File. Out of these two i generated a dll for the WebClient and a dll for the WebService. So far so good. When i trace the message the client generates, the soap-xml is correct according to the wsdl and the xsd Files. When is start the WebService, one welcome screen appear...more >>

Support for xsd:list?
Posted by TN at 10/4/2004 8:29:07 AM
I have a list like this defined in my wsdl: <xsd:simpleType name="MyPets"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="dog"/> <xsd:enumeration value="cat"/> <xsd:enumeration value="fish"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="PetsList...more >>

Can I use an industry standard XSD and ADO.NET / SQLServer to output a conforming XML file
Posted by rjempson NO[at]SPAM gmail.com at 10/3/2004 6:52:11 PM
We have tentatively agreed with a supplier to exchange order information. The plan is to use an 'industry standard' order schema definition from say www.xcbl.org. Is there are simple way to use ADO.NET in this scenario. Ideally (naively) I would like to do something along these lines : 1...more >>

Manipulating or comparing xs:dateTime values in xpath queries with SelectNodes
Posted by Echo 8 at 10/2/2004 10:56:52 PM
Is there a simple way of compare dates? I am trying to create a list of perishable stock in an inventory that is near or past its expiration date. I've tried telling it to compare a node's value with a DateTime string, but that doesn't work. I've assumed that it is easier to manipulate today's...more >>

XPath and nodelist .. im confused :p
Posted by Øyvind_Jægtnes at 10/2/2004 5:14:54 PM
I'm playing around a bit with XPath and nodelist and i want to extract some info from a RSS feed. The one that i am testing at can be viewed at http://slashdot.org/index.rss Ok.. heres the deal: I load xml via httpwebrequest etc and put it in a XmlDocument. xmlFeed.Load(xRes.GetResponseStr...more >>

Any XML Naming Conventions?
Posted by clintonG at 10/1/2004 11:35:25 PM
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and so on? Any referrals to resources that discuss or document XML Naming Conventions? -- <%= Clint...more >>

How to deal with empty attributes?
Posted by Lidström at 10/1/2004 2:14:10 PM
Hi, I want to know how I can deal with empty attributes, like this example: <Spiral constant=""> </Spiral> My Spiral implementation contains this code: [System::Xml::Serialization::XmlIgnoreAttribute] bool constantSpecified; [System::Xml::Serialization::XmlAttributeAttri...more >>

Serialisation auto formatting
Posted by google NO[at]SPAM mcgiv.com at 10/1/2004 12:49:26 PM
Hi, I'm trying to serialise some objects and I've can't get the built in serialisation to output exactly what I want. For the moment I'm implementing the IXmlSerializable interface and doing it the long way. For future reference is it possible to specify how a property should be formatted when...more >>

NewRow fails when using XML document as Dataset
Posted by piyushind NO[at]SPAM gmail.com at 10/1/2004 12:20:39 PM
Hi All, I am using following code snippet to add another user in Users.xml: ------------------------------------------------------------------- DataSet dstUsers = new DataSet(); dstUsers.ReadXml("Users.xml"); DataTable dtbUsers = dstUsers.Tables["User"]; DataRow drwUser = dtbUsers.NewRow...more >>

Webservices [WSE2.0] and security
Posted by RBisch at 10/1/2004 8:25:25 AM
I am trying to select the best approach for security (authentication, role-based) for my web services app. It seems there are many options, so I wanted to ask what would be recommneded according to this criteria: 1. secure authentication (no plain text) 2. role-based functionality 3. easy ...more >>


DevelopmentNow Blog