XML and c#

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>...

XML representations of Graphs

171 byte By ur_unholyness at 2007-11-19 22:59:41
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?

Nested table in XML

1622 byte By TrainPlanner at 2007-11-19 23:06:17
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...

Java and XML

230 byte By ur_unholyness at 2007-11-19 23:12:23
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...

how to remove namespaces in a xml ,I am using msxml2

867 byte By RunLikeARiver at 2007-11-19 23:13:17
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...

Conversion of XML to Quark Xpress using Java

341 byte By haifarizh at 2007-11-19 23:18:59
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...

Creating a typed dataset of MS Project 2003 XML files

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...

error C2872: DOMNodeType : ambiguous symbol

425 byte By alinaqvi90 at 2007-11-19 23:23:19
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...

Adding dynamic listbox in html

384 byte By shashwata at 2007-11-19 23:30:32
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...

XML Creation

521 byte By sivaprakash.shanmugam at 2007-11-19 23:42:55
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...

XSD Error

1211 byte By sivaprakash.shanmugam at 2007-11-19 23:43:49
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...

How to start using XML as data storage

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...

Help needed!

222 byte By richiebabes at 2007-11-19 23:56:43
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.

appending a XML file using JAXB

218 byte By rajiparthiban at 2007-11-20 0:02:33
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.

Unable to get DOCTYPE

170 byte By haifriends at 2007-11-20 0:14:46
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

Help: How do we read such XML file in C++?

6477 byte By princenrj23 at 2007-11-20 0:20:14
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..)_________________________...

wap provisioning doc

431 byte By mohamed123 at 2007-11-20 0:23:38
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...

Connecting to a php web service from vb.net 2005

1730 byte By davepartridge at 2007-11-20 0:28:53
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...

XPATH query to change setting name

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...

Xml Parsing

81 byte By balamurali_g at 2007-11-20 0:36:29
I have an XML output from my C# Web Method . How can i parse it? Any suggestions?

Loading XML file with FireFox

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...

Getting data out of XML generated by vb6.0 code??

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...

Change schema file in MapForce

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...

My Site Need Help

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

About parsing an xml file -logic needed

157 byte By swetha.bsharma at 2007-11-20 1:07:19
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

best xml parser to use

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...

Parsing Xml using JAXB

1446 byte By jamesjohnney at 2007-11-20 1:08:33
------------------------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><...

converting XML to Soap

201 byte By unspoken_words2003 at 2007-11-20 1:12:06
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.

Editing an xml-file using an .dll

381 byte By daniel.c.carlson at 2007-11-20 1:33:35
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...

xml schema tricks

611 byte By ranadhir nag at 2007-11-20 1:38:16
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 ...

Wildcards in XML attributes?

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.

Errors about processing XMLDOM with ASP

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...

XML / XSD - Advice Needed

1448 byte By BigWinston at 2007-11-20 1:57:54
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...

Required white space was missing xml error

220 byte By mayuresh kulkarni at 2007-11-20 1:58:37
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?

Asp - Xml

696 byte By Creascripts at 2007-11-20 2:04:28
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...

Jaxb 2.0 & netbeans 5.0

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...

Conceptual question - XML usage

897 byte By Lou Arnold at 2007-11-20 2:41:52
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...

IXMDOMNode SingleSelectNode XSL Pattern?

894 byte By karunakar_gp at 2007-11-20 2:42:36
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 "...

Free Xml Parser in C/C++

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

Help in iReport

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.

HTML Code Generator

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...

XML Section using XSL

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...

DTD vs XML

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??...

how to write common style sheet for two xml files

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...

ISAXContentHandler or IVBSAXContentHandler

1222 byte By dbouthillier at 2007-11-20 3:27:08
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...

Schema question

701 byte By MrDoomMaster at 2007-11-20 3:33:51
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...

Create and Read MSXML2::IXMLDOMDocument poiner at same time ?

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...

XML file operations in MFC

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

XML Microsoft SQL Intergration

714 byte By davidmccleary at 2007-11-20 3:39:24
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...

Problem using XPath

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...