I need to find a way to validate a document against xsd which is not referenced from xml. I have taken sample files from w3schools:
xml:
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
xsd:
<?xml...
Hello ppl. I have a little querry on my hands
System.out.println(query);
rS = db.executeQuery(query);
if (rS.next()) {
System.out.println("Data: " + rS.getString(attribName));
System.out.println("Data: " + rS.getString(attribName))...
Good day all.
I have an issue with getTextContent. I am using DOM to parse an xml file and in one of my nodes there is a text content which includes < . GetTextContent however returns < which messes up my future use of that text.e.g. The string inside xml looks like so:
tt: java.lang.String...
I need to store some xml into a database as sting. The xml is needed for future processing of the extracted text but doesnt play any role in selection/update/delete process e.g. I want the text to contain various nodes but for the select/ update/ delete sections to be able to just ignore them...
when I apply xslt transformation to an xml file the nodes for witch I didnt provide a template disappear however their contents doesnt. the only way around this seems to create a template for offending node but not to do anything with it. I realise my description is somewhat vague but could...
I am making a QueryTable in Excel and ran into this error.
I set query command text so
.CommandText = Array("SELECT TOP 50 regn1,name, count (*) AS Counter_agents, sum(obk_sum) AS OBK, sum(obk_sum)*count(*) FROM (SELECT regn1, regn2, sum(obk) as obk_sum FROM kp0407 WHERE (BAL =31302 OR BAL=31303...
I have this trouble with word the reason for which I cant trace. It just happens occasionally and then vanguishes.
The problem is following: When I try to open word files while connected to the network word goes catatonic during "checking for macros" section - it stops responding. this happens...
I have a problem with transforming xml - what I need to do is to insert a group of tags number of which depends on some other tags. For instance I need to add table-column tags to a table which equal to the number of cells in the first row. So the starting code would look something like...
I got meself another problem with xml - I read OpenOffice content file which uses a dtd into DOM like so
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
try {
DocumentBuilder builder =...
Hello all. Could anyone please point me towards a tutorial dealing with vba handling of word graphs or an api? I need to be capable of grabing their data as well as their visual settings (diagram type, colors, etc)
Good day ppl, I require your assistance.
I am reading an rtf document, parsing it and puting text into database for further use. However that data is in ansicpg 1251
(Windows 3.1 (Cyrillic)). This poses some problems as I need to be able to either store the data in unicode or transform user's...
Hello ppl I am trying to parse an rtf file to get clean text out but as I am new to regexp I came apon something I dont know how to do.
K, thing is I need to get a chunk of string which sattisfies following condition: indefinetely long repetition of
backslash,word symbol*
so something like...
Hello ppl. I need a way to parse rich text format (rtf) so that I can get plain text from it. As I understand RTFEditorKit is meant for doing this sort of things however I ran into some problems:
1)It sometimes messes up the format (in my case table structure)
2)It throws me an...
I need to grab some formated text and charts from ms office docs (excel and word). I have been advised that the way to do this is with ole objects but I cant figure out how to do this and any help is welcomed
Hello all, I need to be able to read/write formated text and charts to ms word/excel files (i.e. copy chunk of formated text from excel, store it in db, paste to word perserving format. Same goes for charts). Is it possible to achieve this with C# and if so how (if not possible with C# but you...
Hello, the allmighty all. Could someone tell me if the following is possible and in case it is tell me how that can be done.
I need to transfer some data from excel to database. Normally I would have saved the file as csv or txt and simply read it in. However I need to save not only the...
I got office 2000. I need to device a way for automatically inserting a whole lot of data from excel into word text. What options except for writing vba that would cut/paste cell after cell do I have?
when new files are automatically created by some programs (for example "the bat") they get a number at the end of the filename, but before extension which should not be there. What may be causing this? I have checked that there are no files with same name allready existant in the folder where...
when new files are automatically created by some programs (for example "the bat") they get a number at the end of the filename, but before extension which should not be there. What may be causing this? I have checked that there are no files with same name allready existant in the folder where...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.