3,634 Topics

Member Avatar for
Member Avatar for DarkLotus

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, …

0
48
Member Avatar for sree22_happy

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 …

0
89
Member Avatar for a_iyer20

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

Member Avatar for jwenting
0
114
Member Avatar for musicmancanora4

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 …

0
80
Member Avatar for tgreer

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 …

Member Avatar for tgreer
0
2K
Member Avatar for nileshprataprao

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

0
49
Member Avatar for spoorthisri

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 …

Member Avatar for spoorthisri
0
248
Member Avatar for msankardas

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" …

Member Avatar for msankardas
0
108
Member Avatar for kanjali

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 …

Member Avatar for kanjali
0
172
Member Avatar for Daljeet Hanspal

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 …

0
59
Member Avatar for 1337455 10534

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 …

Member Avatar for 1337455 10534
0
136
Member Avatar for Dani

I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as &nbsp; and &amp; 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 …

Member Avatar for aparvaiz
0
241
Member Avatar for ramabahama

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 …

Member Avatar for ramabahama
0
257
Member Avatar for kri25in

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 …

Member Avatar for gr3270
0
79
Member Avatar for gr3270

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 …

0
55
Member Avatar for googletired

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 …

0
68
Member Avatar for SheSaidImaPregy

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 …

Member Avatar for SheSaidImaPregy
0
872
Member Avatar for ssahil11
Member Avatar for dilasing
0
148
Member Avatar for v.godhe

I want to publish my DB2 data to PDF file using XSLT. Has anyone tried this?

Member Avatar for v.godhe
0
179
Member Avatar for karsoods53

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?

Member Avatar for karsoods53
0
207
Member Avatar for ssahil11

I have recently started working with DB2 database. I have heard about Xquery. What exactly Xquery is?

Member Avatar for dilasing
0
356
Member Avatar for kzubair96

Ive heard about Xpath a couple of times. Can someone explain me in detail what Xpath is?

Member Avatar for dilasing
0
166
Member Avatar for s.piyush58

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 …

Member Avatar for apuri976
0
349
Member Avatar for davebr71

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

0
45
Member Avatar for drorb

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

Member Avatar for drorb
0
120
Member Avatar for sofiagrave

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

0
56
Member Avatar for s1986
Member Avatar for vedmack

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 …

0
64
Member Avatar for eleonora

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 …

0
63
Member Avatar for bornok15

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

Member Avatar for Ramy Mahrous
0
208

The End.