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 > july 2003 > threads for july 15 - 21, 2003

Filter by week: 1 2 3 4 5

Urgent!!! Please help
Posted by CGuy at 7/21/2003 4:48:05 PM
Hi, I'm trying to write a log file (in XML) using XMLTextWriter. Each time my application runs, certain events are logged and the same log file should be updated. The very time, the log gets saved correctly, bu the next time I try to write to the same XML file using XMLTextReader, the file...more >>


xpath - how to get an element name?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/21/2003 2:20:39 PM
I'm using the following xpath in .net //Station[@name="Station1"]/WI/Boards/Board[@sn="12345"][not(@finish)]") to test if there is a Board element with NO "finish" attribute. If there is, I need to get the @title of the WI element...but haven't been able to figure it out yet (and yes, I do...more >>

Control for nested XML Data
Posted by Franz at 7/20/2003 5:32:21 PM
I want to show the content of the xml with a control which allows to show the nodes in a nested way. I don't want to use DataGrid which shows the nodes in a tabular form. Is there any suitable control for me? Thanks. -- My C++ and C# ( Traditional Chinese ) Web Site : www.franzwong.com/Home.php...more >>

XmlTextReader bug ?
Posted by Meir S. at 7/20/2003 2:14:19 PM
I think the following is a bug in XmlTextReader: I need to process large XMLs, that are typically constructed of many small elements nested in the root element. Each inner element represents a command, so I have to parse and execute them according to the order they appear in the ROOT element...more >>

Url validation
Posted by Erik Cruz at 7/19/2003 5:30:38 PM
A custom xml file I wrote for my application has two elements that accepts urls. I used vs.net to generate a schema file for my file but there is no validation for urls. How can I validate an element to accept valid urls including https ones? TIA, Erik Cruz ...more >>

SelectSingleNode with a default namespace
Posted by Edward Yang at 7/19/2003 5:54:36 AM
My XML document has a default namespace specified by xmlns="some_url". Here it is: <?xml version="1.0" encoding="utf-8" ?> <ssmproject name="sample" server="sql" xmlns="mailto:neo_in_matrix@msn.com?subject=ssmprjx" > <pr> <script name="pr_sample_script_name" /> </pr> </ssmproject> ...more >>

XmlDocument: I keep getting told "The reference node is not a child of this node"
Posted by George W. at 7/18/2003 6:18:07 PM
Okay, I'm a C#/XML newbie, and I've been wrestling with this for a while now, checked dotnet sites, articles, MSDN Library, etc. and haven't been able to determine why this is happening. I have an xml file that I am loading into an XmlDocument and then trying to add a child element to the r...more >>

adding records to multiple tables in MSDE 2000 from XML using ADO.NET
Posted by pratibhaa NO[at]SPAM jvc.co.uk at 7/18/2003 3:56:46 AM
I am using .NET web aplication and MSDE 2000. I receive new record in XML format which I want to add into MSDE 2000. I am doing it as below. Private Sub InsertNew(ByVal sData1 As String) Dim SR1 As System.IO.StringReader = New System.IO.StringReader(sData1) DS1.ReadXml(SR1) ...more >>



HTML to XML conversion
Posted by Yann Chane-Kive at 7/17/2003 11:03:57 PM
Hi, I'd like some advice on the best way to convert html to xml. Is anyone aware of third parties component that would do the job? Thanks, Yann ...more >>

XmlReader Question
Posted by CGuy at 7/17/2003 8:00:32 PM
Hi, I am using an XmlTextReader to read an xml file. It may happen that the file is present in the disk, but it may be empty (0 bytes). I would like to find out whether the xml file contains a valid root node or not. How do I do this? This is what I need if(File.Exists(fileName)) ...more >>

best way to deserialize xml
Posted by Tomasz Kaszuba at 7/17/2003 4:27:07 PM
I'm at a quandry as to what's the best/fastest way to deserialize an incoming xml stream? I ran a small test on xmlserializer and on a small file it performed 10 times worse then when I used the XMLDocument and deserialized the values myself. Is the xmlserializer really that slow? I'm expec...more >>

i need an sql or .net expert !
Posted by suzy at 7/17/2003 4:16:52 PM
it seems like a simple enough problem, but i need some help...... i have a table of messages (like newsgroup messages) in sql server. my application will allow people to read threads/messages and reply to messages over the net. the table has the following columns: messageId - unique primar...more >>

Serialization of a derived class to the same element as the base class
Posted by stephen.prescott NO[at]SPAM thermo.com at 7/17/2003 1:34:10 AM
I have the following two classes' the second derived from the first. Each time 'myclass' is added it adds an element. The second class is the same in, except it includes more methods. What I want to be able to do is add the class element even if I use my 'wizclass'. public class myclass { {...more >>

Possible to edit and save back certain nodes ONLY of an xmlDocument?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/16/2003 8:06:14 PM
One more question...please. I have an xml doc like this: <assembly> <station name="station1"> <wi id="1" name="doc231"> <boards> <board sn="1111" start="07/15/03" end="07/16/03" /> <board sn="1112" start="07/15/03" end="07/16/03" /> </boards> </wi> ...more >>

load xml in value
Posted by Rafaela K. Azinhal at 7/16/2003 5:45:34 PM
Hi, I'm a newbie and have a question: I have following PivotTable object in a HTML page <html> <body> <object class='ptdrillthrough' classid="clsid:0002E552-0000-0000-C000-000000000046" id="pt"> <param name="XMLData" value="&lt;xml xmlns:x=&quot;urn:schemas-microsoft-com:office:excel...more >>

xml transform using c#
Posted by suzy at 7/16/2003 3:14:27 PM
i have a method which is return xml from a dataset. can someone please post some example code of how i can transform this xml using an xsl stylesheet? i am only interested in the c# part of the code, not the xsl. please note that my xml is coming from a method, not from a xml file. than...more >>

DataSet or Classes
Posted by Ruslan at 7/16/2003 2:59:56 PM
I must work with the xml files. Load data from xml, change it, save it. What is the best idea? To use ADO.NET, I mean to load data from xml to DataSet, or create classes and work with these classes (something common with "Castor"). Thanks, Ruslan ...more >>

Cannot implicitly convert type 'System.Xml.XmlNode' to 'System.Xml.XmlAttribute'
Posted by Anita C at 7/15/2003 4:04:40 PM
I have the foll. code to update the value of an attribute: xmlDocument.Load("abc.xml"); XmlAttribute xmlAttrib = xmlDocument.SelectSingleNode(root/web/theme/@desc); xmlAttrib.Value = ddDes.SelectedItem.ToString(); xmlDocument.Save("abc.xml"); However, I get the foll. error: Cannot implicit...more >>

Writing to an xml file
Posted by Anita C at 7/15/2003 2:21:28 PM
A code snippet from an xml file that I want to edit: <?xml version="1.0" encoding="utf-8" ?> <ROOT> <WEB> <THEME>Default</THEME> I am trying to replace the 'InnerText' - Default with the text present in a textbox 'txt1'. How do I accomplish the above? Thanks in advance. ...more >>

Reading from XML into SP
Posted by Sean at 7/15/2003 12:29:33 PM
hi,=20 I have a xml file.=20 And i want to be able to read those values into a stored procedure.=20 The XML structure is=20 <cash>=20 <tag section=3D1 id=3D1 param=3D2 param3=3D3 />=20 <tag section=3D1 id=3D2 param=3D2 param3=3D3 />=20 <tag section=3D2 id=3D1 param=3D2 param3=3D3 para...more >>

Do I use xslt or xsd schemas to transform input XML to output XML with the users changes?
Posted by sam at 7/15/2003 10:50:52 AM
Hi, I've been buried in xsl and xslt articles for several days now, and am still unsure as to what I need to do... Basically, my vb.net app loads up an XML file from an external source (Input.xml). When the user is setting up the source, they can make changes to it to specify which columns to ...more >>

Sign XML and add a prefix
Posted by richard NO[at]SPAM penrose.me.uk at 7/15/2003 6:59:45 AM
I am experimenting with the Cryptography API (using c#). I have successfully managed to sign some XML using an RSA algorithm. I can then vaidate the XML with a Verify method that I have developed. I am using the SignedXML class to generate the signed XML. I would like the output XML to use the...more >>


DevelopmentNow Blog