xml

  1. O

    How do I end CaseParty.Get process and display a message

    What I am trying to do is end the CaseParty.Get process when the original @ID is not found. This means it is not found because it was changed. Also inside the objCaseParty, I want to add a display message "Original party no longer exist on the case. In my xml document the original CaseParty/@ID...
  2. O

    How do I check if section and subdivision exist inside object's xml?

    My function is working but not as I expect it to. The problem is that when Section and Subvision are not found in the object aobjXmlGetStatuteRequestNode xml, I get an error NullReference Exception was unhandled by user code. Object reference not set to an instance of an object. For that...
  3. MillTurnBr

    Question extract sub element value from a XML node

    Hi there, I?m new to this board and this is my first post. I?m a beginner in VB .NET and I apologize in advance if I?m raising an stupid question. I searched around the board and Googled it but I probably was unable to use the correct words to find out what I?m looking for. I?m totally new to...
  4. mond007

    Refreshing XML data when returning from (Adding Data) in Form2 back to Display Form1

    Hi I have a simple database of 150 questions whereby Form1 is an Enquiry Screen where a QuestionNo is entered and the answer and its attributes are returned from an XML File for Display. The XML File layout is as follows : QuestionNo (e.g. 2.7) Question Text...
  5. mond007

    Question Create an effective XML Schema for Data Load dilemma?

    Hi I am writing a XML Based Visual Studio application, whereby I need to import a simple matrix of 6 columns by 400 rows of data. The scenario is that the user puts in question number and the application looks up the question and display the 5 columns of the answer in the below format from the...
  6. mond007

    Excel File versus XML Data Load in simple VS Project

    Hi I am writing a Visual Studio application whereby I need to import a simple matrix of 6 columns by 200 rows of data. The scenario is that the user puts in question number and the application looks up the question and display the 5 columns of the answer details, image and hyperlink from the...
  7. rexcarnation

    Question How to split Wordpress WXR XML file into multiple files based on element count.

    Hello, I'm new on xml, I have one problem when i split the wordpress WXR. I try to using XML Document Splitter Class here : XML Document Splitter Class - CodeProject but nothing can do. Please help meee. my example xml is: <?xml version='1.0' encoding='UTF-8'?> <rss version='2.0'...
  8. sterjo

    Question How to change parent nodes in xml

    I have an xml file that looks like this <Operation ID="450"> <Form ID="36" xsi:type="form-36"> <AOP ID="1" Current="0" Previous="317200" xsi:type="aop-form-35" /> </Form> <Form ID="36" xsi:type="form-36"> <AOP ID="1" Current="0" Previous="317200" xsi:type="aop-form-36" />...
  9. fisherRon

    Question Advice on what type of app to build for exchanging xml data between servers

    I have a project that I need to build that gathers data from a local database, packages it into an xml file (as specified by receiving server) and send it to another server via an API they provide. I then need to be able to receive data back from that remote server and display it to the user...
  10. N

    Question Cannot fix deserialization error

    I have a class instance that I want to serialize, upload to SkyDrive, download from SkyDrive, and then deserialize. I have the serialization, uploading, and downloading working fine, but the deserialization gives me the following error: There is an error in XML document (2, 2). The generated...
  11. N

    Question Cannot Deserialize using XmlSerializer

    I have the following code that serializes an object: Dim stream As New MemoryStream() Dim xml As New XmlSerializer(GetType(SyncData)) xml.Serialize(stream, New SyncData(CType(Application.Current, App).Recipients, CType(Application.Current, App).Gifts)) However, when I later attempt to check...
  12. M

    Question Value of XML Node is Nothing

    I have a Procedure that is supposed to get the value of an attribute in an xml file. The first 4 times I call the Procedure, it works fine. But on the 5th time the value of myNode is Nothing. I don't think the problem is with the xml file because if change the order of the nodes, I still...
  13. R

    Writing from DataGridView to XML

    I can successfully use the code below to import data from an XML file into a DataGridView, but now I need to be able to write the same data back out to XML. Dim xmlDatadoc As XmlDataDocument = New XmlDataDocument() xmlDatadoc.DataSet.ReadXml(OpenFD.FileName) Dim ds As DataSet = New...
  14. E

    Question Inserting data into xml node

    Im just recently getting back into programming vb after being away for many years. Im currently working on a project that requires i insert or append data to a specific node in an xml file. When i run this bit of code. Dim XMLDom As New XmlDocument()...
  15. V

    Question Read XML Schema and populate treeview

    I have several xml files all using different schemas and am trying to write a program to load an xml file, read the schema, and create the treeview with the appropriate parent/child relationships. Is it possible to make it dynamic enough to be able to read any xml schema and populate the tree...
  16. richard.cassell

    Creating an object using a literal string which contains the required type.

    Hi all, I'm writing some software which allows the user to draw diagrams containing nodes and controls, each representing an Object of a Class. As part of this, i'm coding save/load functionality using XML documents. My problem is that i have a tag in the XML which holds the Type of the object...
  17. Sparrow

    Question XML DataBase filter by date

    Hi, I am working on a sms agent that dumps the message into a sql database and has another agent cheking it and then sending the sms. I have put in a history view and the option to filter it with 2 datetimepicker but it doesn't seem to work. It just displays everything blank if I try to filter...
  18. V

    Website Scanner for XML Recipes

    Hello, I am looking for food recipe websites that I can acquire data in xml format. An example site would list their incredients in a <id="ingredients"> tag to make it easy to parse. My question is: once I find this site, how can I continually read data from an open source site without...
  19. B

    Question Problem parsing XML, tried everything!

    Hello everyone, I have a problem regarding parsing XML that I've been fighting with for weeks now and can't seem to resolve. I've read every tutorial and every question on the website here, but either I don't understand it or I want something very special. So you guys are my last hope. I'll...
  20. S

    Question XML Parsing Error - Escaping Characters

    Hi all, How can I replace illegal characters inside XML tags with legal ones eg. & with & etc. My code is like this: Imports System.Security Imports System.Xml Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...
Back
Top