Hi,
we are working with XML files that can be as big as 6Mb. Some XML documents that obey to a certain condition must be duplicated where only 2 elements need to change value.
I thought using XPath to select the 2 XML elements and updating. But as far as I know, you can only update elements after selection with XPath if you use the JDOM XPath class. Using the JDOM XPath class implicates that you first have to build a...
User Profile
Collapse
-
Change value of XML element
-
You use UTF-8 encoding so characters like èéêë should be represented in your file like èéêë.
But your document will be valid XML.
<quote>
Valid XML Documents
A "Valid" XML document also conforms to a DTD.
A "Valid" XML document is a "Well Formed" XML document, which also conforms to the rules of a Document Type Definition (DTD)... -
Visual Basic Editor Excel: using filters
I have an excel file with columns A, B, C, D and E that look like this:
A B C D E
-----------------------------------------------------
N 23,179 15,744 28,550 14,007
C 22,757 16,635 29,661 12,011
C 21,493 17,400 29,319 12,011
O 21,266 17,733 28,155 15,999
The columns B, C and D contain the coordinates of an organic atom with the name... -
Input # statement Visual Basic Editor (Excel)
I'm quite a newbie to Visual Basic and have a problem with the Input # statement in the Visual Basic Editor from Excel. I would like to read in a tab delimeted text file selected by a user with records like this:
<snip>
O 21.266 17.733 28.155
N 20.649 17.703 30.320
C 20.883 17.336 31.723
</snip>
I'm using the code below to read each line from the file and store them in the variables...
No activity results to display
Show More
Leave a comment: