2049 byte By
Khilborn at 2007-11-19 22:48:24
I know how to write to an XML file with c# but I am having an issue with it just overwritting what is already in the file. For example:Say I have this in my "Database" already<?xml version="1.0"?><Inventory> <Product> <ItemNumber>aaa</ItemNumber>...
Is there a standard syntax for representing Graphs (Graph theoretic graphs like Hamiltonian, Complete, Bi-Partite etc.) in XML? Can someone point me to some good examples?
Wondering if anyone can help with this, its probably very easy, but at work I have 0 access to online resources or documentation, so everything is pretty much guesswork.I have an old xml file containing the contents of an even older database, and i need to extract all the data into a new database. M...
Is there a good tutorial or book that someone can point me to where I can learn how to read and generate XML from Java?<br/> <br/>I have seen the Sun's tut but I am looking for something even simpler and fast learning type...
Hi Folks,I am using msxml2.dll and DOM for creating and reading the xml.1) I have created a IXMLDOMDocumentPtr by HRESULT hr = vl_pIXMLDOMDocument.CreateInstance(__uuidof(MSXML2:OMDocument));Now I want to remove all the namespaces present in that xml .Is it compulsory to know the namespaces before t...
Hi allI need some example of convert XML to QuarkXpressI have XML file. I need to convert this in to Quark XPress file like XML to PDF.We have PDF Renderer already.Is there any Renderer like Quark Renderer.Awaiting for ur valuable replyThanks in advanceurshanif...
343 byte By
d00_ape at 2007-11-19 23:20:34
Where can I find the typed dataset for MS Project XML files?Ive tried to create my own but when trying to read an MS Project XML-file like this:MSProjectDataSet dataset = new MSProjectDataSet();dataset.ReadXML(savedXMLfileFromProject.xml);I get different exceptions.All tips in this topic are welcome...
What ever I try to do with MSXML4 i end up with the following error:c:\vc++\xml\debug\msxml4.tli(49) : error C2872: 'DOMNodeType' : ambiguous symbolI am using VC6 with MSXML4. Is there a reasonable explanation for this?? because I havent been able to find any yet.And no its not a scoping p...
Hi, In my application, am trying to add a selection box dynamically.. that is,when a button[add] is clicked it should add a new list box into the form.I this application am using JSP.I tried alot for this.. able to add text box dynamically but not the listbox. Awaiting for your valueable...
Hi,I have the following XML data, is it right approach to have best XML. Still i need to have attributes as different sections and make use of it. Please go over and point what are all the chenges required to make it better. <Cfg> <CF>I</JTAG> <CF>J</JTAG> <EX nam...
The following is my XSD...<?xml version="1.0" encoding="utf-8" ?><xs:schema id="GGProCfg" targetNamespace="a.xsd" elementFormDefault="qualified"xmlns="a.xsd" xmlns:mstns="a.xsd" xmlns:xs=" http://www.w3.org/2001/XMLSchema"><xs:element name="PROGRAM"><xs:complexType><xs:sequ...
967 byte By
Odiee at 2007-11-19 23:45:25
Hi.Well here's the thing. I have to make xml file that will store some data. Since I started with XML just yesterday there are few things that are not so clear.First can I use this to store some info:<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE Camera [ <!ELEMEN...
Hi, anyone know where I can get css help? Specifically I have dynamic data sent to the web that I want to be formatted into the width of the screen - i.e. no bottom scroll bar, everything has to be within the screen width.
hi all,<br/> How to append a XML using JAXB. Is there any method , functions or technique for that. Is that the programmer should do by some user defined functions if so please give me an idea of how to do it.
Hi everyone,<br/>I'm using XML::LibXML parser for parsing XML. I'm unable to get DOCTYPE from XML file.<br/>Can anyone guide me?<br/>-haifriends
Hi All, i have to make Xml Reader class in VC6(MFC) which could read an XML file(mentioned below) and extract information from it and use it for further processing, now the problem is this XML file has nested references within it's nodes...(partial XML file..)_________________________...
hi all, how to provision a wap-provisioning doc to windows mobile directly from a xml doci mean i dont want to generate a CAB data from xml , under a desktop pc , i want to provision the windows mobile directly from it self is it possible use rapi.exe <_setup.xml> directly on the windows mobil...
I am trying to communicate with a php webservice from vb.net. Unfortunately the service does not provide any wsdl - all i have is a document that explains (in php terms) what is required to be sent and what will be returned. The web service uses SOAP to communicate.Here is an extract from the docu...
491 byte By
Milzit at 2007-11-20 0:33:43
I need some help for XPATH query to change the setting name "SettingName"<configuration <applicationSettings> <MyApp> <setting name="SettingName" serializeAs="String"> <value>valuetobechanged</value> </setting> </MyApp> </appli...
I have an XML output from my C# Web Method . How can i parse it? Any suggestions?
1569 byte By
ericmul1 at 2007-11-20 0:37:55
Hi there,I need to load an XML document in order to fill a selectbox with several options. I have created (ok... i pulled it from the net) a piece of code that loads the XML file and then fills the selectbox quite nice. Only problem here is that the script works fine in IE but not in Firefox or any...
2233 byte By
jayadeep at 2007-11-20 0:40:58
the original table or view that contains the data iscentercode centername---- ----afjasdf akjhfdaksdhadkfjhaskjd akhfkajsdhetcwhen exported to xml using adodb.recordset persistxml method in vb 6.0 <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00A...
820 byte By
gbs-cccs at 2007-11-20 0:49:17
Hi all,I am looking for an easy and fast way of exchanging the schema path in MapForce for a XML file.I have a bunch of mapping definition, done with mapforce and I have to change in all of them the schema path as the directory where the schemas are located changed. (Don't ask why this has happ...
281 byte By
prismmb at 2007-11-20 0:53:07
Hello Everyone<br/>I design one affilate page and want to make it batter as HTML so search engine index it batter i also want to put some XML and RSS for dynamic content .<br/>plz review it and give me some sugession<br/>www.mysecret2success.com<br/>Thanks<br/>PRISM
Hello,<br/> I need to parse and validate my xml file. Can anyone suggest me a way to do it. I would like to write a code in MFC.<br/>Thankyou<br/>swetha
582 byte By
petera at 2007-11-20 1:07:36
Hi,I have a particular problem to solve:I have an xml batch file that contains individual xml invoices. I need to extract these xml invoices one at a time andplace them on a message queue i.e. I just need to get all the data between the invoice start and end tags put itin a string and place it on a...
------------------------Hi all,I am using XML for data storage and JAXB for parsing data from that XML my XML is like this(for ex).////////////////////////////////////////////////////////////<XML version="1.0"><School><Class id=1><name>leo</name<no>001</no><...
hello ppl.<br/> Does anyone here has some material to how to convert xml document into Soap document manually when we have a get method and post method.<br/>Thanks and Regards,<br/>Shahbaz Y.
Hi all of you!I want to read and edit an xml-file by using a .dllI want the dll to have the following interface: void GetXmlNode(string xmlFilePath, string node)void SetXmlNode(string xmlFilePath, string node)void CreateXmlNode(string xmlFilePath, string node)bool XmlNodeExists(string xmlFilePath, s...
I need to define 2 rules in my schema .The validated xml is of the form<root><vegetable><class>root</radish><type>A</type><value>moderate</value></vegetable><vegetable>......</vegetable>....</root>Condition 1: When class is ...
296 byte By
jsiii at 2007-11-20 1:50:02
Hello, is there something like wildcards for Xpath evaluation? I mean something like:<br/>/configuration/appSettings/add[@key="VCOM-*"]<br/>Notice that asterisk. I need to select all elements that have attribute like VCOM-1, VCOM-2 and so on. Is something like that possible? Thank you.
751 byte By
Liuzq at 2007-11-20 1:51:27
My code is: Function CreateTest(topic,src) set objDom=server.CreateObject("MicroSoft.XMLDom") objDom.load("list.xml") set newNode=objDom.createElement("test") set newTopic=objDom.CreateElement("topic") newTopic.text=topic newNode.appendChild newTopic set...
Hi,I am looking to get some advice here from some XML pro's!I'm a bit of a noob in using XML, and haven't touched XSD before.I'm writing a little utility and I need to be able to save configuration data, the majority of it will be dynamic. Thing is, I don't even know where t...
I am getting error <br/>Required white space was missing Error processing resource <br/>i am createing xml using php.<br/> <?xml version="1.0" encoding="UTF-8" ?><br/>how to solve this problem?
Hi, I try to retrieve a value from an xml file. Would you know how to do it:<?xml version="1.0" encoding="UTF-8"?><response xmlns:domain=" http://www.eurodns.com/"> <result code="1000"> <msg>Command completed successfully</msg> </result> <resData...
686 byte By
sunson at 2007-11-20 2:18:11
Hi all,I am trying to read all data from an XML file, then process it, and save it back into XML. I was using DOM3 and it works fine.Here is the problem:If I parse file1.xml, process it, and save it into file2.xml, it works, and file2 is similar to file1. But when I run my program again with input f...
I know what XML is, and Ive seen many examples but I have a few conceptual questions about sharing info with it.Suppose we have this example: A database say its Oracle - has some data in it according to a schema. If one wants to move that data - to say a MySql database, Im told that the data can b...
Hi All,I am kind of new to MSXML. I hope one of you can help me out here.I have an IXMLDOMNode* pRootNode;As much as I know, I can use XSL pattern with IXMLDOMNode aspRootNode->selectSingleNode(_bstr_t("//ext[@attrbutename='attrvalue'"),&pNode);This will get me a node whose tagname is "...
134 byte By
Shvalb at 2007-11-20 2:55:23
Hi.<br/>I'm looking for a free XML Reader/Parser that I can join to my project.<br/>something simple...<br/>Thanks
278 byte By
sruthim at 2007-11-20 2:59:17
Hello! I was looking into the source code of iReport.In the MainFrame, when the "Save" option is selected, a method "SaveXMLFile" is called by JReportFrame object.I am trying to get the implementation of this method .Can anyone please tell in which class it is done?<br/>Sruthi.
316 byte By
psridhar at 2007-11-20 3:02:30
HiI am going to start a new project in which I have to migrate all existing user interfaces to browser based screens.Can anybody suggest me a tool / any method by which I can describe all the fields, position and other attributes and I get the HTML code for it.Thanks in advanceSri...
358 byte By
callavin at 2007-11-20 3:06:00
Assume We have 4 or 5 tags in one XML and we have to show that XML using some XSL.the Problem is we have to show only those tags which the user will give as input.So we have a Static XML containing all the Tags but XSL will vary depending upon which things it has to show and which not.So how to do t...
328 byte By
s_o_s at 2007-11-20 3:10:27
Hi..In DTD Asterisk (*): zero or more occurrences.Plus (+): 1 or more occurrences.Question (?): zero or exactly 1 occurrenceIn XMLOptional element: minOccurs = 0.No max number of elements: maxOccurs = unbounded the question: how to do "Plus (+): 1 or more occurrences" in XML??...
677 byte By
jeccinta at 2007-11-20 3:23:02
Hi, Am working in asp.net using c#.database is sql server2000.Am generating reports using xml for my application.I have converted my sqlserver 2000 database tables to xml format.The problem am facing now is i have 2 tables namely personal details and official details.In both the tables i have aroun...
Background:I'm working on an XML project that currently uses the ISAXConentHandler interface. I use a #import statement to generate a .tlh file (msxml4.tlh). The project would build error free in ASCII and UNICODE using Visual Studio .NET 2003. Now that I am using VS .NET 2005, I get build erro...
Hi,I have a specific element type that has the following format:<Frame type="Image"/>Note that the 'type' attribute can be one of many different choices. For example:ImageTextSizableSliderContainerDepending on the value of this attribute, the 'Frame' element is allowed to h...
507 byte By
brraj at 2007-11-20 3:35:38
Hi All,I am using DOM to create,load,save to xML file.I am using CreateElement of MSXML2::IXMLDOMDocument pointer to create nodes.Lets say i have created 4 nodes, now i want to see what is the element at node 2 to verify.At this point of time i have not saved the contents to file.can i do this ?when...
63 byte By
ManasRao at 2007-11-20 3:38:50
Can anyone tell me how to open and write to an XML file in MFC
Hey all,I need to be able to query a database and produce an XML document. I also need to be able to input XML into my database. I have been doing a lot of reading about this and there seems to be dozens of different ways to do this. So I was just wondering if any of you guys have experience in t...
1680 byte By
priyank9 at 2007-11-20 3:39:44
Hi, I am trying to use XPath in my VC++.NET application to navigate my XML document. But I am getting nothing when I run Select(); method of XPathNavigator class. I am posting my XML, XSD and CODE with this message. Can I know what is the problem with this code?XSD File:<?xml version="1.0"?>&l...