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 > january 2005 > threads for january 22 - 28, 2005

Filter by week: 1 2 3 4 5

Xsd.exe tool issue
Posted by John at 1/28/2005 1:23:04 PM
I have a xml file that I want to take it as xsd.exe's input to create schema file. When I do xsd sample.xml, I got error, Error: There was an error processing 'sample.xml'. - The same table (element) cannot be the child table in two nested relations. However, I read WSC xml specification,...more >>


XML Guru Needed!
Posted by Steve Covert at 1/28/2005 11:31:48 AM
In converting a VB6 app using MSXML2 to a VB.NET app using System.xml, I'm looking a cross-reference. What would the equivalent .NET XML command be to 'transformNodeToObject?' Thanks! ...more >>

Still Problems Serializing Arrays
Posted by Wayne Wengert at 1/28/2005 7:41:06 AM
I am still stuck trying to create a Class to use for exporting and importing array data to/from XML. The format of the XML that I want to import/export is shown below as is the Class and the code I am using to create a sample XML file. I am trying to dimension the ArrayOfJudgeEntity to have two s...more >>

XmlDocument question
Posted by Brecht Yperman at 1/28/2005 5:03:10 AM
Hi, I'd like to implement the following feature, but I don't know how: When I read in a document with 'empty' elements, i'd like them to be 'compressed'. e.g.: .... doc.LoadXml("<item><name></name></item>"); doc.Save(textWriter); .... returns "<item><name></name></item>" Is there a ...more >>

Insert Doctype Node Dynamically
Posted by Chris Fink at 1/27/2005 3:37:22 PM
I am receiving xml documents from a customer without a reference to a doctype. I know what the Doctype DTD should be need to insert the declaration as follows <?xml version="1.0" encoding="UTF-8"?> <!-- start of add validation tag --> <!DOCTYPE D1XML SYSTEM "http://url/myDTD.DTD"> <!-- end ...more >>

SOAP message to XML String
Posted by niftyhawk NO[at]SPAM gmail.com at 1/27/2005 12:32:33 PM
Hi All, I have a web service hosted on my server. When the web service is invoked a SOAP request is generated on my server. I would like to store the SOAP message as XML String, so I can perform various validations on each of the XML Tags. How do I acquire this in C# ? Thanks, -Nifty ...more >>

Porting from VC++ 6
Posted by Robin Charisse at 1/27/2005 11:43:03 AM
Hi, I have a VC++6 project that uses msxml to parse XML documents. I have been asked to port this to a .NET project but from the research I've done so far it looks as though the only way to do this is to rewrite the project from scratch in C#. Time is at a premium and given that I have no p...more >>

XML Conversion
Posted by Steve Covert at 1/27/2005 9:44:01 AM
I am converting a VB6 app which used MSXML2 to a VB.NET app. Is there a cross-reference listing somewhere which maps MSXML2 methods to .NET? Thanks! SC ...more >>



Create Node List XML dotnet
Posted by csgraham74 NO[at]SPAM hotmail.com at 1/27/2005 8:58:39 AM
I am trying to find the values for the product description in the below xml by using a node list. In most cases there may be multiple values for <ProductDescription>. It just aint working - any ideas greatly appreciated. <Purchase> <ProductCode>FR</ProductCode> <NoOfProducts>1</NoOf...more >>

using xmlspy generated code
Posted by nasiem_msameh NO[at]SPAM hotmail.co.uk at 1/27/2005 8:04:52 AM
HI XMLSPY enterprise edition have the ability to produce csharp code and classes depending on provided XML file and XSD Schema. does anyone have examples on how to use them. Thanks...more >>

Conversion from XMLText to XMLElement
Posted by Anirudh at 1/26/2005 11:32:09 PM
Hi, i wanted to know if there is any way to convert an object to XMlText to XMLElement. Thanks in advance. ...more >>

send soap message
Posted by mark kurten at 1/26/2005 7:03:02 PM
i have a requirement to send a soap message to a web service. i'm familiar with the soap toolkit using vb. i need to generate a xml document which i think i can do, but i don't know how to send it to this service. i've accessed other web services in .net and usually there are functions ...more >>

Invalid charachters in a XML Doc
Posted by Glen at 1/26/2005 4:56:56 PM
I'm new to XML, so this is a newbie question. I'm reading in XML docs via a VB.NET application and extracting node data and I find that one of my blocks or lines has a copyright character in it. I'm using the .NET XMLTextReader class and the Reader won't parse this character at all; just throws a...more >>

XSLT and HTML
Posted by Mike P at 1/26/2005 4:34:31 AM
I am quite new to XML and XSLT, and I know you can apply XSLT to XML to display data in an XML file according to the XSLT file, but is it possible to apply an XSLT file to page/s of HTML, so that you aren't just limited to your XML data, but can transform a whole web page? Any assistance wou...more >>

Newbie: How do you test for Attribute existence in C#/VB.NET?
Posted by Larry Woods at 1/26/2005 3:47:52 AM
How do I test for the existence of a nodal attribute? The following snippet terminates with an error "Object reference not set to an instance of an object." Snippet: For Each oChild In oNode.ChildNodes If Not (oChild.Attributes.ItemOf("key") Is Nothing) Then .......................more >>

DOCTYPE DTD and Entity
Posted by branko.geci NO[at]SPAM ht-dot-hr.no-spam.invalid at 1/25/2005 5:54:41 PM
I have problem with Entity definition. ____________________________________________ my file "test.xml" ---- <?xml version="1.0" ?> <!DOCTYPE message [ <!ENTITY % PE "TEST1" > <!ENTITY Ep "%PE;" > ]> <message>&Ep;</message> ---- IE6 Error mesage ???? 'Parameter entities cannot be used ...more >>

System.Xml.XPath.XPathException
Posted by laks at 1/25/2005 4:02:07 PM
Hi I have the following xsl stmt. <xsl:for-each select="JOB_POSTINGS/JOB_POSTING [( (CITY='Atlanta' and STATE='GA') )]\"> <xsl:sort select="JOB_TITLE" order="ascending"/> This works fine when I use it. But when using multiple values in the where clause as below <xsl:for-each select="J...more >>

Reference to undeclared parameter entity
Posted by STech at 1/25/2005 3:03:02 PM
I have an instance of an XmlDocument. I am using the Load method to load some xml data but get the error message "Reference to undeclared parameter entity". Here is the xml data <data> <items> <item>This is a test </item> <item>Hello World </item> </items> </data> If I remove the ...more >>

How move from XmlTextWriter to XmlDocument?
Posted by Gustaf Liljegren at 1/25/2005 1:47:58 AM
I think I must use MemoryStream, but whenever I search for examples of MemoryStream, I get lots byte-per-byte reading, buffers and so on. It's hard to understand and seem overkill for my case anyway. All I want is moving a finished document from XmlTextWriter into an XmlDocument. Can anyone ...more >>

Web service on two tables
Posted by garyrob at 1/24/2005 7:01:06 PM
Please could anyone show me how to create a web service which accesses and updates information in two tables. I have seen examples in MSDN based on one table but these fail when using the DataAdapter Config Wizard tries to join two tables. Many thanks ...more >>

GUI Development tools for XSLT
Posted by Richard L Rosenheim at 1/24/2005 6:43:18 PM
Does anyone know of any GUI tools for developing XSLT? Support for XSLT 2.0 would be nice. The only thing I know of XFactor, and I'm just wondering if there's anything else. TIA, Richard Rosenheim ...more >>

SignedXML throws error
Posted by Nikhil at 1/24/2005 1:57:06 PM
When I try to used the CheckSignature Method of SignedXML I get the following error. "Unknown transform has been encountered. at System.Security.Cryptography.Xml.Reference.LoadXml(XmlElement value)\r\n at System.Security.Cryptography.Xml.SignedInfo.LoadXml(XmlElement value)\r\n at ...more >>

NEWBIE - How to Replace XML Node Attribute
Posted by Dave at 1/24/2005 10:17:06 AM
I have an XML file: <configuration> <Section Name="Settings"> <Key Name="Setting1" Value="101"></Key> <Key Name="Setting2" Value="202"></Key> <Key Name="Setting3" Value="300"></Key> <Key Name="Setting4" Value="404"></Key> </Section> </configuration> ...more >>

Serialize 2 nodes
Posted by CLEAR-RCIC at 1/24/2005 5:59:07 AM
Hi, I have a class that I am trying to serialize. To simplify, I've changed the names to Baseball, Teams and Players. Here is what the XML should look like: <BaseBall> <Teams> <Team> <Name /> <City /> </Team> </Teams> <Players> ...more >>

Deserializing an array
Posted by Wayne Wengert at 1/24/2005 4:25:25 AM
Using VB.NET I want to read in an XML file that has an array of objects and then step through the resulting array in code. I build a class to define the structure and I am running code to read in the data but I can't figure out where the data is in the resulting array. Most of the relevant code i...more >>

Inheriting from XSDObjectGen classes and XmlSerialize
Posted by Peter Bates at 1/23/2005 4:05:04 PM
Hi, I'm just getting used to XSDObjectGen and i have the following question. Can i use a class inherited from a class generated by XSDObjectGen with XmlSerialize? Specifically, I have many xml files arriving from a PC inventory scanner we use. I wish to deserialize them and then process...more >>


DevelopmentNow Blog