3,634 Topics
| |
I want to parse strings in an XML file. Example: [code] <TestOptions> <Testing> <Tester>GETME</Tester> </Testing> </TestOptions> [/code] What I want to do is get the "GETME" contents there between the <Tester> tags. I've Googled, searched this forum + others and came up with A LOT of results such as Xerces, … | |
hi friends i am using xfire for webservice with spring ... i incorporate the spring servletContextAware interface for starting my server so that i can start it while tomcat server starts up... For that i given the method setServletContext method..... But now i need to detach the spring concept from … | |
Hello All, I need to create a simple xml document using DOM(I am not specific on using only DOM. It can be SAX also). I tried putting to use a sample from this link: [url]http://www.java2s.com/Code/Java/XML/MakeupandwriteanXMLdocumentusingDOM.htm[/url] In the link above, the line: Document doc = parser.newDocument(); resuts in a null value. … | |
Basically im trying to design a dtd that represents a collection of movies Not sure why but when i try validate the dtd it says undetermined element declaration 'Movies' but i have declared it havnt i? could someone take a look at my code give me some pointers ? thanks … | |
Hello, this is not a Web Development question, but this is the only XML forum on Daniweb. I need to copy a specific number of nodes in an XSLT transform. For example, I need to copy the first 5 <student> nodes, with all child nodes and attribute nodes, even though … | |
Hi I am new to SAML. I need a help. What is "SAML consumption" ? Please help me if any one is having idea about it. Thanks, Nilesh | |
Please help me how to write into XML file using VC++ 6.0 this is example code where i am not able to write the data into XML File this is ScanComputer.cpp where i am trying to try into XML file [code=c++]void CScanComputer::saveParameters(const char *filename) { ParamIO outXml;//ParamIO.h is pasted below … | |
Hi, I am a newbie when it comes to programming in xml, so my doubts can sound stupid. Anyway, here is what I want to convey. I have a test.xml file like this. [B] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE REQUEST [ <!ENTITY cred SYSTEM "/test/credentials.xml"> ]> <REQUEST Name="calculateBusinessHours"> <start Value="06/28/2007 16:53:16" … | |
Hello , I am new to .net(C#) programing. I need some help in my coding , from experts. I have the following Xml file, Ex : <propertybag name="test" type="a" flags="0"> <property name="help" type="String" flags="0" /> <property name="path" type="String" flags="0">/[B]abc[/B]</property> <propertyname="url"type="String"flags="0">/[B]abc1/Samlple.xml[/B]</property> <property name="icon" type="String" flags="0" /> </propertybag> Here i want to … | |
hi .... i am trying to add a new node to an existing xml file in c# .......... the code is as follows: XmlDocument doc = new XmlDocument(); string filename = @"C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\xml\xml\bin\Debug\bookstore.xml"; //create a new node XmlElement newbook = doc.CreateElement("book"); //set attribute newbook.SetAttribute(label1.Text, textBox1.Text); //create … | |
I need to convert .docx files to .doc (on Linux and Windows). I'm planning to use the zip mod to access all of the internal XML documents. Then I'll the /word/document.xml and I need to parse it so that it will read all of the text in the tags, place … | |
I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as and & What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my … | |
I'm trying to run a SOAP response from a web service through an xslt translation and place it in a web page via an Ajax call. The web service and javascript all works fine. I am having a problem accessing specific nodes inside the xslt file. Specifically: when I run … | |
Hello folks... i need some help in implementing soap in java... i need to write a program wher the client will send a soap request.. the server will parse the xml file and give back the response as a xml file.. but the client shud recieve it as a soap … | |
Anyone solved this one? - Suppose I have a Person complex type defined in an xsd. And it has an element, eg age, that is declared as minOccurs=0. ie, age is optional for the creation/existence of the complexType. Now suppose I want to pass that Person as the argument on … | |
Hello, It has been quite some time since I have done any .xml/.xsl work My current site displays the contents of the category (only) when clicked. What I need it to do is display a Long list of all content from all categories seperated by Category heading. Also when a … | |
I need to write each row of a daset to a separate xml file, which will be named based upon the ID of the current row. I am very new to XML, as I have never believed in it, which meant it was crap. Anyway, I am trying to merge … | |
I want to publish my DB2 data to PDF file using XSLT. Has anyone tried this? | |
I have looked at the syntax of SQL/XML query and tried to run a sample query. But not able to write my query using it. Can someone provide a tested and working SQL/XML? | |
I have recently started working with DB2 database. I have heard about Xquery. What exactly Xquery is? | |
Ive heard about Xpath a couple of times. Can someone explain me in detail what Xpath is? | |
Hi, I am new to this...so hope I can get some help from you all... I get XML feeds as input and have to store this data on our server. I have worked with databases but new to XML. Can someone tell me how I can store and manage this … | |
I am using xmlhttp via VBscript to upload files to a sharepoint directory. I know there are much better ways to do this but I have several constraints that have forced this solution. I have been able to decode a base 64 file properly, write it to a file (i.e. … | |
I need help with parsing XML. I put an XML doc into a hidden input for an HTML FORM... -------------- <html> <head> <title>TEST TEST</title> </head> <body> <form method=POST action="http://nflnfl.com/mash.php"> <input type=SUBMIT> <input type=hidden name=xdoc value='<?xml version="1.0" encoding="UTF-8" ?> <!--OPN 2001 Proof Of Concept--> <ScannerData> <Device>0000000000002561</Device> <UploadDate>3/6/2008 3:49:09 PM</UploadDate> <BarCode> <Symbol>8</Symbol> … | |
Hej I am new here and also new programming in VB, I am making a form in VB and I want that some data that I have in a xml file to be loaded into that form. my XML file looks like this: <Ship> <Identification> <OrderNo>2</OrderNo> <Yard>T</Yard> <HullNo>NB</HullNo> </Identification> <CargoTypes> … | |
I have an Xml file from which i want to delete some different node, im doing it by using the .removeChild method, and it works just fine, the problem is that after im doing so , i getting empty line instead of the deleted node (it does not affect the … | |
Hello, I want to modify a java client/server game as to load the map from an xml and then validate against the dtd. Is it okay to do something like that? [CODE=java] public void parseXML(){ try{ DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); Document xmlDocument = dBuilder.parse(new FileInputStream("map.xml")); DOMSource … | |
How can i make a configuration in INI and XML so that i won't hardcode the location of my database and other configurations, and i would just change it from a form within my program? Can anyone help me? thanks.. |
The End.