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 > november 2005 > threads for november 15 - 21, 2005

Filter by week: 1 2 3 4 5

Xpath newb question
Posted by CHRISTOPHER FRAZIER at 11/21/2005 7:57:34 PM
I'm trying to integrate an xml document into a vba application, and I'm = pretty new to xml and xpath. I have the following xml document: <Chart> <Account>1000.10 <Department>10</Department> <MapNo>111</MapNo> <Amount>1234.59</Amount> </Account> ....plu...more >>

Passing XML around in an app
Posted by Dugr at 11/21/2005 12:39:06 PM
I'm writing a simple .NET 2.0 application and I'm writing a DLL for this app. I want to pass an XML document into a public function of the dll and read it's nodes and then pass the document around to other functions and subs in the dll. I'm getting lost with all the options. What's the ...more >>

Importing nodes without namespace
Posted by Christoffer at 11/21/2005 11:43:04 AM
Hi, I'm having trouble with namespaces when importing nodes. I'd like to get this output: <exampleRoot xmlns="http://mynamespace"> <row Lsm_Info="ABC123" /> <row Lsm_Info="DEF456" /> </exampleRoot> But instead I'm getting: <exampleRoot xmlns="http://mynamespace"> <row Lsm_Info="...more >>

serialization when using reflexion
Posted by Marc Falesse at 11/21/2005 10:41:45 AM
Hello, My application needs to serialize a class, which was generated with xsd.exe from a XSD. It was working .NET 1.1 and it is working with .NET 2.0 very well. Now I need my assembly to be a plugin, and to be called by reflexion, but I get this Exception: Exception.Message: "There was...more >>

appending elements to existing xml
Posted by onemonk at 11/21/2005 3:35:06 AM
hi guys... I hav this problem, I am planning to write html form values to xml file and... the problem is... When I am entering data... its recording only the latest entry.. by overwriting the existing entry.. so at any given time there's only one element in the xml file... I repeat my self...more >>

Xslt/Xpath help
Posted by Patrick.O.Ige at 11/21/2005 12:00:00 AM
I have an xml and i'm trying to loop each node... When i do FOR EACH i seem not to get my desired result I want to loop through and get only the values that matches the question i specified with the corresponding answers? I don't want to retrieve all the Answer and VoteAnswers nodes <xsl:for-...more >>

XML Security
Posted by Sean at 11/20/2005 11:03:06 AM
I have a web hosting service I am paying for. I dont have privilages to change read/write permissions on XML files (or any other on a network level for that matter). Security best practice?...more >>

XSD tool's class generation for <xs:list>: bug or not ?
Posted by MSolve1 NO[at]SPAM yahoo.com at 11/18/2005 1:24:08 PM
Hi, People I'd like to restrict the contents of an element to a list of string values delimited by a space such as the one below: <tables>summary positions trades</tables> So I defined the following schema: .... <xs:element name="tables" type="TableList"/> <xs:simpleType name="Table...more >>



XPath expression help
Posted by Paul at 11/18/2005 10:31:34 AM
I'd like to write an XPath expression that gets all nodes with a given local-name, say 'Customer', within a given namespace. From a prior response I got the following to get nodes with a specific local-name: //*[local-name() = 'thenamehere'] But how would I modify this to look only ...more >>

XML Merge/Diff tool?
Posted by nickdu at 11/18/2005 9:28:16 AM
Is there a tool that will merge XML documents? We also need the reverse, we need to be able to create a Diff of two documents. What we're trying to do is just store differences of documents at different levels of hierarchy in our configuration store. As an example, lets say at a certain h...more >>

User defined ReadXml funtions required
Posted by Prasad Dannani at 11/18/2005 12:00:00 AM
Hi, When reading XML Files from .Net we are facing different different issues. like "The data at the root level is invalid. Line 1, position 1" and some more with extra spaces at the beginning of the document etc., But I am suprised to see that these are opened using browsers including IE and ...more >>

EMAIL2 configuration problems
Posted by Madhur Nagar at 11/18/2005 12:00:00 AM
Hi I am trying to configre my PocketPC Outlook using the ConfigurationManager.ProcessConfiguration. The provisioning file that I have created is attached for your kind consideration. The mail account gets created but the problem is that I am unable to set the settings for 1. Connect and...more >>

Selecting nodes where a specific child does NOT exist
Posted by Marc Jennings at 11/18/2005 12:00:00 AM
Hi there, I have been given a rather poor schema for an XML file in the following format : ><item> > <key>ProductCode</key> > <value>1234-5678</value> > <key>Description</key> > <value>Widget 1</value> > <key>Price</key> > <value>199.95</value> ></item> ><item> > <key>ProductCode</...more >>

Validating XML fragment with single namespace schema spread into multiple schema files using include.
Posted by Wallace at 11/17/2005 8:19:49 PM
Hi all, I have a problem on validating a xml fragment using a single namespace schema which spread across multiple schema files using include in the master schema file. No matter how I change the xml fragment (to include default namespace xmlns='urn:xxx:yy' and any other namespace it may have...more >>

Transforming XML to text (and output tab and new line characters
Posted by Buddy Ackerman at 11/17/2005 3:57:59 PM
Apparently .NET strips these white space characters (MSXML doesn't) regardless of what the output method is set to. I'm using <xsl:text>&#09;</xsl:text> to output a tab character and <xsl:text>&#13;&#10;</xsl:text> to output a carriage return and line feed but they get stripped at some point. ...more >>

Using C# to conver XML into Excel ?
Posted by Polaris at 11/16/2005 9:47:58 PM
Hi Experts: Anyone knows if C# provide functions to convert XML file into Excel format? Thanks Polaris ...more >>

How to convert an xml file to another ?
Posted by Patrice Dargenton at 11/16/2005 12:00:00 AM
Hello, I have to convert an xml file to another xml file that is very similar, but some content are different, and the names of some nodes are different. In fact it's a response to a message : while in the original file there is <XXX>, the response file should contain <XXXResponse> with the same...more >>

Can I make this document format correctly?
Posted by Brad Wood
I need to build a document by adding sub docs to it. When I do so, I lose formatting. I've tried a suggestion I saw of simply setting the formatting a second time to no avail. Following is a console snippet that demonstrates the problem: static void Main( string[] args ) { StringWri...more >>

In-memory modification of NodeList
Posted by daniel at 11/15/2005 12:05:07 PM
Hi, Ignorant .Net Newbie Here - I'm loading up an XML document and trying to encrypt some elements but not others, by iterating through the nodelist returned from XmlDocument.GetElementsByName(). Goofy things happen. I get back 8 elements, but as I step through the nodes, encrypting and c...more >>

How do you remove and insert xml in C#
Posted by grs at 11/15/2005 10:55:53 AM
All, In the xml document below I want to delete the <eConnectProcessInfo xsi:nil="true" /> and insert <eConnectProcessInfo> <ConnectionString>data source=SERVERName ...etc</ConnectionString> </eConnectProcessInfo? Will someone please give me some C# code to accomplish the task. than...more >>

What is this "IBM437"
Posted by grs at 11/15/2005 10:32:50 AM
This is from a code example in visual studio beta, what is the IBM437 ? thanks grs <?xml version="1.0" encoding="IBM437"?> <book xmlns:bk="urn:samples" bk:ISBN="1-861001-57-5" bk:genre="novel"> <title>Pride And Prejudice</title> </book>Press any key to continue . . . ...more >>

how to get file id in C#
Posted by Daniel at 11/15/2005 10:21:02 AM
how to get file id in C# is there any kind of unique id that can be obtained for any file in a file system? ...more >>

Multiple definition of element in xs:choice element
Posted by pawel.pabich NO[at]SPAM gmail.com at 11/15/2005 8:10:25 AM
Hajo, I know only one way of forcing element to have one or more childes: <xs:element name="saleOrSupplyMethod"> <BR/> <xs:complexType> <xs:choice> <xs:sequence> <xs:element name="generalSale" type="emptyTagType" /> <xs:element name="p...more >>

XSD keyRef
Posted by Kent Boogaart at 11/15/2005 12:00:00 AM
Hello, I have a complex type defined in its own schema as follows: <xsd:complexType name="myType"> <xsd:complexContent> <xsd:extension base="myBaseType"> <xsd:attribute name="parentId" type="xsd:string" use="optional"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> ...more >>


DevelopmentNow Blog