How do I ignore case when reading XML file (to pick up Attribute that is mispelled)?

2013-01-23  Source: Original Site  Category:Visual Basic 4 / 5 / 6  Views:0 

Advertisement

' For example in the following code I need to pick up an Attribute in an XML file, but for some nodes, the attribute is mispelt as "ANumberAnalysisCause" instead of "aNumberAnalysisCause". How can I pick up either of the two attribute node values?

..
Set MoBN_AttributesNode = MoBN_Attributes.getNamedItem("aNumberAnalysisCause")
MoAN_CAUSE(c_child) = MoBN_AttributesNode.nodeValue
..

/Anyone please - Sammy

Related articles
  • How do I ignore case when reading XML file (to pick up Attribute that is mispelled)? 2013-01-23

    ' For example in the following code I need to pick up an Attribute in an XML file, but for some nodes, the attribute is mispelt as "ANumberAnalysisCause" instead of "aNumberAnalysisCause". How can I pick up either of the two attribute node values? ..

  • How to skip a line when reading a file 2013-07-05

    How do I tell a program reading a file line by line to skip a line. For example I need to find a line which contains a match to a certain pattern and then I need to pull the name which appears on the next line in the file (but is not in a predetermin

  • C++: Ignoring spaces when reading a file? 2015-04-29

    All, I have delclared a struct, and a vector with that structs type. As my program reads the file the vector's size is increased by one, and the information which is supposed to be separated by tabs is put into the attributes(?) of the struct: while(

  • Error when reading xml file 2012-11-10

    I have an xml file with the information below: <?xml version="1.0" encoding="utf-8" ?><ServerNames><Name>dfwnbonner1</Name></ServerNames> I am trying to get the Name of a server into a listview. This works fine with the

  • Invalid at the top level of the document error when reading XML file 2013-06-29

    complete message is as below: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. ------------------------------------------------------------------

  • how to put a line break when reading XML 2012-11-23

    When reading XML file using PHP, how could I put line breaks where necessary? Otherwise there would be a big string of characters without any spaces and line breaks. Many

  • How to read xml file nodes and attributes by using C++ 2013-06-29

    How to read xml file nodes and attributes by using C++

  • How do I prevent holding when reading stdin? 2014-10-07

    How do I prevent holding when reading stdin? I'm creating a program with glut that uses the terminal for input and using fscanf() is holding up the process. How can I check the stream before calling fscanf()?

  • How To : Reading XML File using MSXML in COM or C++ 2014-10-23

    How To : Reading XML File using MSXML in COM or C++ I studied the documentation of msdn. But it has some vague examples related to vc++. By using the interfaces like IXMLDOMDocument and all how to read the xml file. Please any one know about this top

  • how to read XML file in Java? 2015-02-13

    hi Can anyone tell me how to read XML file?My XML file formate is somehwat like below : <Root> <Nodes> <Node id="1" name="name1" ref="ref1"/> <Node id="2" name="name2" ref="ref2"/> </Nodes> </Root> How i can read t

  • pls i want to know how to read xml file remotely using java 2013-03-02

    pls i want to know what i must use to read xml file in remote machine in java. is it possible using saaj,or other.i have jdk 1.6 installed on window 7 os machine. what also suitable softwares for this task. apreciate any ideas

  • Read XML File in C/C++ 2015-03-11

    Everybody..... feels nice to be part of daniweb..community..joined only today...... i am quite ignorant of XML.....but now i have to develop a c/c++ program which reads a XML file......stored on LAN.....retreives the content of the file...and do nece

  • Reading XML Files from oracle 9i or in Oracle 10g 2012-01-02

    Can any body suggest how to write a stored procedure to read XML file content and insert into a table.

  • Reading XML File SQL Server 2012-05-01

    I have been trying to read XML file in SQL Server with Stored Procedure. but i coud't get any solution. can any one Help me. I have XML file with List Of Countryes each Country has Id. I need to read all Country Id,CountryName and need to be insert i

  • Bash: Reading XML file 2012-05-22

    Hi, how can I read XML file with bash script? I googled but for some reason cant find a single sample code

  • reading xml file and generating code 2012-08-21

    I have a class (Rhs.java) that reads an XML file to get content to display on the right side of our our site. I need to generate some javascript code for the images to be displayed, and I need it to generate the javascript code based on how many elem

  • Reading XML file from java < beginner question 2013-05-30

    I need to know a way to read a XML file from java. for example if the XML file is >> <PHONEBOOK><PERSON><NAME>Joe Wang</NAME><EMAIL>[email protected]</EMAIL><TELEPHONE>202-999-9999</TELEPHONE></PERS

  • Oracle Reading XML Files of size 1GB 2013-08-30

    I implemented reading XML files in oracle 9i through XMLDOM and XPATH. But it takes more time, for Example parsing the XML file of size 30M it tooks 23 Minutes(Approx 10000 rows, the extracted data values are inserted into 4 tables). When trying to p

  • Ubuntu I am getting dominos when reading .txt files 2014-07-01

    http://9t9z.com/images/temp/Screenshot.png http://9t9z.com/images/temp/Screenshot-2.png When reading .txt files, created presumably in Windows, I often get these little dominos where apostrophies, question marks, quotes and other characters belong...

  • How to export a data as an XML file from oracle data base? 2012-01-21

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...