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 > july 2003 > threads for july 8 - 14, 2003

Filter by week: 1 2 3 4 5

Serializing Classes
Posted by Werner B. Strydom at 7/14/2003 11:56:45 PM
Hi I wrote a class, Document, which has an Array of ITask objects. In order to serialize the tasks contained within the tasks array, I marked each task class with an attribute [Serializable], and added an entry to the task collection property (of Document). [ XmlElement("foo", typeof(FooTa...more >>


Reading data node by node from an XML file and binding to a grid
Posted by dineshbabu_gr NO[at]SPAM hotmail.com at 7/14/2003 12:32:25 PM
Hi all, I have many parent tags and many child tags under the respective parent.. in an XML file. On the click of a button the application should pick up the one parent and the corresponding child and bind it to a grid. Like that it goes on for the next parent and the related child for t...more >>

having trouble retrieving/using xml string from database field
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/14/2003 11:54:31 AM
Hi again, I save a fairly small xmlDocument to a single db field, xDoc.OuterXML using a SQL insert statement...this works fine. However, I then need to select that field (xmlWF) into an xmlDocument to add nodes, etc., but haven't found the correct way. I've also tried just saving it as a ...more >>

The data at the root level is invalid. Line 1, position 2. -- using LoadXML - Help?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/14/2003 9:47:30 AM
I've discovered I need to use LoadXML instead of Load for an xml string versus an xml file. HOWEVER, I get the above message when .net goes to load the string. The string comes from an xmlDoc.OuterXML save resulting in: <?xml version="1.0"?> <WorkFlow> etc., etc. So, when I save this xml...more >>

request.form collection - how to dynamically update nodes from xsl/html source?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/13/2003 12:28:49 PM
Hi, I have a transformed xml source into html for client input. In order to update the xmlDoc on the server, how do I specify the correct nodes if they are built dynamically through assigning id's via the xsl transformation? Example: within the xml/html I could have two input boxes whose na...more >>

Distributing XML
Posted by Keith Patella at 7/13/2003 11:25:45 AM
I'm using Visual C++ 6.0, but since there doesn't seem to be a vc.xml newsgroup I was hoping someone here would know my question. Does anyone know what exactly I need to do to distribute .xml with an application? Originally I would just include all the xml.dll 's and the .ini file in my appl...more >>

Kirk Allen Evans---? how do I use your code to update my xmlDocument?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/13/2003 10:14:46 AM
Kirk, The other day you very kindly explained how the client/server thing works. May I ask just one more question? Could you give me an example of what code I would put in the client html to post back the user input to the server xmlDocument? You gave me: One way is to use the Request.Fo...more >>

How to password encript XML using some .NET class??
Posted by Peter Horwood at 7/11/2003 1:26:03 PM
Is there a class in .NET that will let me encrypt/decrypt an XML file using a password (or possibly other simple encription method)?...more >>



Multi-user writing of XML document
Posted by Peter Horwood at 7/11/2003 1:23:32 PM
Are there any white papers or sample apps or Message threads that handle the issue of multiple users viewing, editing and saving XML files? I have a few very rudimentary ideas (like only letting one edit at a time - yuck<g>). Normally I use a database to do this so I only have to worr...more >>

looking for example of inserting child node using a for each on a nodelist
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/11/2003 12:44:13 PM
Hi, I'm looking for an example (preferably vb) using xmlDocument class that once an XmlNodeList has been set (e.g., select all <House> elements), that would add an empty <Rooms> child element to each <House>. Thanks in advance for any help. Kathy...more >>

How to Insert a node in a namespacemanaged document
Posted by Rafaela K. Azinhal at 7/11/2003 11:36:38 AM
Please, help me with following code snippet ' Load xml document Dim xmlDoc As New XmlDocument() xmlDoc.Load(http://localhost/VT/reports/VT_actual_owsPivotTable.xml) ' define namespacemanager Dim xmlNs As New XmlNamespaceManager(xmlDoc.NameTable) Dim nsUri As String = xmlDoc.DocumentElement.G...more >>

XML namespaces and VB.Net - System.XML.XMLDocument
Posted by Greg Rothlander at 7/11/2003 9:34:11 AM
I posted this a few days ago and didn't get any response. I try again but ask it a little differently. I'm recieving any XML document from a client and I need to convert it to an ASCII delimited string to input into a legacy system. I've put together a VB.Net class that does this using ...more >>

Create XML Doc from XML returned by URL
Posted by BLH at 7/11/2003 8:13:39 AM
Hi, I am using a 3rd party product that returns XML when calling its exe through a URL. For instance, the following URL calls this exe in Internet Explorer and returns valid, well formed XML and displays it in the browser: http://server/app/livelink.exe? func=search&where1=report&out...more >>

Xml Serialization problem...
Posted by myspammail NO[at]SPAM blueyonder.co.uk at 7/11/2003 2:30:30 AM
Hi, I am trying to use xml serialization to simplify load/save functions in some classes i have created and am hitting a few problems. Any help to either would be most appreciated. I have created a MasterShape class which contains a name, and a 'Shapes' class object, which itself uses the I...more >>

NetworkStream/CryptoStream/XMLTextReader Problems in VB.net
Posted by Casey Watson at 7/10/2003 4:51:12 PM
Hi :) I'm having some major trouble with an XML Client/Server application that I am writing. I am using NetworkStream with CryptoStream to Read and Write XML between computers. Now, whenever I write the XML, the Server section which uses the XMLTextReader Class will not accept EndElements pe...more >>

URL/URN
Posted by Jim Heavey at 7/9/2003 9:01:36 PM
I am walking through this "teach yourself course" on XSL. I hit a stumbling block when I attempted to use another XML file within the an XSL file. The example has me reading a particular value from this other XML file in order to base some processing logic off of it. Any way, I have not bee...more >>

querying XML document
Posted by John Buchmann at 7/9/2003 5:07:46 PM
I'm trying to migrate from Access database data into XML data, and i'm having a lot of confusion. Before XML, in my ASP.NET page, i'd connect to a database, query it (SELECT * IN whatever WHERE...), and then display the results in something like a Datagrid. Very easy. How can this be do...more >>

PLEASE explain xmlDocument on server, but the html transform on client???
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/9/2003 4:47:47 PM
If someone could just explain this to me...I just don't get it! I have an aspx page where I retrieve several session variables and use xmlDocument to transform xml file with xsl file into an instruction document (not data based) - same as using an xml web control. The resulting html is on th...more >>

Problem with transform XSL that incude asp.net controls and validation controls!!!!
Posted by Forum at 7/9/2003 4:12:27 PM
Please help me. I have problem with transform xml Protected WithEvents GeneralXMLWeb As System.Web.UI.WebControls.Xml Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim xmldoc As New XmlDocument() xmldoc=result of Function() * ...more >>

Help in my VB Code .. to Delete
Posted by Sean at 7/9/2003 2:52:21 PM
hi,=20 I have been trying to solve this problem since morning, and haven't = really come up with a solution. it is frustrating. please help. =20 i have a datagrid and got a delete column =20 <asp:datagrid id=3D"dgdocument" runat=3D"server" = AutoGenerateColumns=3D"False" EnableViewState=3D"...more >>

Bug in Xsl Transformation (unable to return nodelist using choose/where/otherwise in variable)
Posted by Anders Borum at 7/9/2003 2:34:36 PM
Hello! I've come across a strange error that occurs, when you try to return a nodelist from a variable with a choose/where/otherwise statement. I'm not quite sure whether it's a bug or simply lack of W3C support. All I know is, that this Xsl document works with the current implementation of ...more >>

Helloooooo? Editing larger xmlDocuments in browser...not datagrid...how please?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/9/2003 12:06:31 PM
Hi, Everything I see is geared toward editing data-centric information (from db tables, etc.) using datagrid, data islands, etc. Is it possible (and HOW?) to load an xmlDocument (using xsl stylesheet transformation) -- I know how to do that part -- but allow the user to edit any part of the...more >>

Simple XSL Question
Posted by Jim Heavey at 7/9/2003 10:24:15 AM
Hello I am working through a littel tutorial on XSL and I have a "simple" question. I am wanting to build a table with headings of the lement names. The tutorial show that I am to use the "name(.)" to retrieve the element name. The example show this in a "for-each" loop, but I am not wanting...more >>

XMLDataDocument root node repeats
Posted by brianlagerman NO[at]SPAM yahoo.com at 7/9/2003 8:55:05 AM
Every time add data and save an xml document using XmlDataDocument.Save I get another root node added to the xml file. Am I doing something wrong or is this supposed to happen? Sample Code: srdReader = New StreamReader(SCHEMA1.xsd) xmlFile.DataSet.ReadXmlSchema(srdReader) xmlFile.Lo...more >>

Object reference not set to an instance of an object. .......... Error .... Please Help
Posted by Sean at 7/9/2003 8:22:45 AM
Hi, I am facing a problem, and i don't know why the error is being = generated. I am updating a datagrid with an XML file. My code is=20 Protected Sub UpdateCommand(ByVal Sender As Object, ByVal E As = DataGridCommandEventArgs) Try Dim deletekey As String ...more >>

XML Serialization Error of Collection
Posted by CSchneider NO[at]SPAM vibrant-1.com at 7/8/2003 12:01:50 PM
// Can anyone explain the bizarre XML Serialization behavior seen in the following code. // It seems that a collection can not be XML Serialized if it contains an Add() method // with a single parameter where that parameter is of a type in the System.Data namespace // (or a class derived from ...more >>

ICollection and xml
Posted by Anita C at 7/8/2003 11:52:42 AM
Hi, I am trying to use the an xml file as the datasource for a webcontrol. The datasource must implement ICollection and a datamember name must be provided too. Can someone please provide a sample as to if and how one make the xml data a datasource which implements ICollection and hence bind th...more >>

selectnodes in XML DOM document
Posted by suresh at 7/8/2003 11:42:38 AM
Hi, I have the following xml file. <Navigator xmlns="urn:uuid:721DCCFA-8250-4820-8C7D- 7AF0E52305FD"> <SMDataSet RegionName="NA" CustomerName="ATT" MarketName="New Jersey" DataSetName="SMDS1" Technology="CDMA" StartDateAndTime="2003-06- 01T00:00:00.0000000-04:00" EndDate="2003-06- 02...more >>

cannot access file
Posted by Brian Smith at 7/8/2003 10:32:29 AM
Hi, I am trying to write text data to an xml file via an XMLTextWriter object. When I try to initialize the XmlTextReader object, I get an IOException: The process cannot access the file "path/filename here" because it is being used by another process. Any idea what could be causing th...more >>

Saving and retriving a classes public fields to SQLServer
Posted by MIchael McDowell at 7/8/2003 7:44:57 AM
Anyidea how this might be done using and XML Web Service and the XMLSerialzation class? A pointer to an online example would be deeply appreciated. Thankyou in advance, Michael McD...more >>


DevelopmentNow Blog