3,634 Topics
| |
Hi, I am trying to get all the data from an xml file. I need to get all the attribute values and all the element values (values between tags). Does anyone have any ideas on what is the best XML parser to use? | |
Hi All, I am a newbie in python. I have a SoapUI XML which looks something like this <soapui> <testSuite name=> <testCase> <testStep> <config resourcePath ="testpath"></config> </testStep> </testCase> </testSuite> </soapui> Now from python, I have to first validate that resourcePath is equal to "testpath". If yes change it's value to … | |
I'm trying to add this XML element: [CODE]<cp:prop name="given_name" value="UK" />[/CODE] It has to be formatted exactly as above. I've tried this but it formats differently: [CODE]Dim cp = XNamespace.Get("cp") Dim newElement As New XElement(cp + "prop", New XAttribute("name", "given_name"), New XAttribute("value", givenName)))[/CODE] It formats like this: [CODE]<prop name="given_name" value="UK" … | |
Hi I need to read a xml file once placed in a directory and write it to another file to retrieve the contents in the file. This needs to be done automatically. I know c++ and how to read,write, and open files with c++. Can this be done using c++ … | |
Hi all, Thanks for taking the time to read my post. I've got a complex SQL query that outputs categories, their related categories, and product name(s) and image(s) related to the main category. To resolve cross-join effects, i was advised to use group_concat on product information at the end of … | |
hi all i want to create an xml file from an array i've been googling but can't find the right one the closest one that i get is in [URL="http://www.higherpass.com/java/Tutorials/Building-Xml-With-Java-And-Dom/"]http://www.higherpass.com/java/Tutorials/Building-Xml-With-Java-And-Dom/[/URL] but it doesn't create an xml file like i wanted to i want to print and create it like c:\xml … | |
Hey guys, I'm having a "great" pleasure of parsing XML in my ASP page, except I can't seem to figure it out what I'm doing wrong. I have tried a bunch of stuff and can't seem to read a simple xml doc. here is what my code looks like... [CODE]' … | |
I've been trying to figure this out for a week without luck. My program needs to examine two XML docs for missing contacts, when it finds a missing contact it then needs to merge the information across. I've got the examination part working with this code: [CODE] Private Sub findAllDisplayNameMaster(ByVal … | |
Hi I seriously need help. I have to create a web app using asp.net and c# that sends data that the user put in and then my web app sends data to another company's webservice, process the data and then my web app should display it to the user. What … | |
Hi I recently developed a reportingApp which after downloading xml report from third party, converts it into csv format. This 3 party changed the dtd version of the reports saying it should not affect anyone But my app broke as the xmlns reference changed, thus it didn't performed conversion. so … | |
hi, i had done some coding ..im unable to get how to check the entered field is present in xml file or not...can anyone help me out....waiting for the reply..here is the code.. 1. package login; 2. 3. import java.io.*; 4. import javax.servlet.*; 5. import javax.servlet.http.*; 6. 7. import java.io.*; … | |
Hi... Any idea on how to embed this flash so it will stay behind other content, e.g. a lightbox? [CODE]<td align="left" id="container" valign="middle" z-index="0"><!-- see notes for files included --> <a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player to see this rotator.</a> <script type="text/javascript" src="my/path/to/file.js"></script> <object><script type="text/javascript"> var s1 = new SWFObject("my/path/to/flash.swf","rotator","415","120","7"); s1.addParam("allowfullscreen","false"); … | |
hi... i am completely new to xml.. how to compare parsed data in c++??.. I am using expat. should i use huge else-if statements to compare the elements i just extracted ?? is there anyother way of doing it??? I have a feeling i have messed up somewhere.. | |
Hello guys, I'm working on a new project in C++ and I need to parse some XML files, by reading some articles on the web I found that the most commonly used one is the Xerces library. However, I'm currently having troubles. Can anyone tell me how can I include … | |
Hi, I am creating a word document using XSLT and FOP. I require different header and footer in first page and rest of pages. I tried different codes available on net but its not working. So please give ur responses where I am doing mistake. I am sending you my … | |
Which is the best, cheapest reseller web hosting provider on the web? | |
Hello. I just want to know if it's possible to use regular expressions in the match attribute of the template element. For example , suppose i have the follow xml document: <greeting> <aaa>Hello</aaa> <bbb>Good</bbb> <ccc>Excellent</ccc> <dddline>Line</dddline> </greeting> Now the xslt to transform the above document: <xsl:stylesheet> <xsl:template match="/"> <xsl:apply-templates select="*"/> … | |
I wonder if anyone can advise why the sort param is being ignored in this xslt? The code is always performing the 'otherwise' section regardless of the sort parameter. [code]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:param name="sort"></xsl:param> <xsl:output method="xml" indent="yes"/> <xsl:template match="Products"> <xsl:element name="Products"> <xsl:choose> <xsl:when test="$sort='DATE'"> <xsl:apply-templates … | |
hello, I need some help with my assignment. I have a XML file (EAD) that has some general info about 106 old documents and the library that are located and a description for every one in 106 <c01> tags . Each document has an id in c01/did/unitid (unitid tag). I … | |
Hi! I am totally new to using a Sax parser! Can anyone help me understand how to grab my xml content and store each group in an array list for later access. Within the XML there is repeating groups of information for different days and I want to be able … | |
I have put some xml data in a file the python code below and have been trying to figure out how to get the data from the file add another "person" and then save to the same file again. [code=python] from lxml import etree from lxml.builder import ElementMaker E = … | |
I have an XML here as follows, [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <countries> <country> <text>Norway</text> </country> <country> <text>Sweden</text> </country> <country> <text>France</text> </country> <country> <text>Italy</text> </country> </countries> [/CODE] And, I am trying to sort it without using XSLT, and I am not using this to edit the XML file. I only would … | |
HI , i'm new in xml. I'd like to ask one thing that what is the difference between .config file and .xml file? As long as i m not clear for this part, i can't go through anymore. Pls reply me :) :) | |
Hi Guys does anyone here ever used apache Ivy. I need help here, I am a newbie in Ivy and trying to set up local repository and apache website is not useful at all. | |
Hi, im a new user, and fairly new to ajax. I'm trying to create a blog that uses RSS. The problem is that google chrome displays the results from the rss.php script, yet Internet Explorer does not. Any help would be greatly appreciated. Here are the functions i am using … | |
Hi, I have an application as in the following, [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender As Object, ByVal e As EventArgs) songNodesOut.Text = String.Empty If Page.IsPostBack Then mess.Text = "<p style='margin-left:-2em'>You selected <b>" & drop1.SelectedItem.Text & "</b></p>" End If Dim file As … | |
i have data which i am receiving as xml files and i need to put the data in a database and then use it to create reports on a windows app using vb 2008 anyone who can help me ????? | |
Trying to figure out how to parse the attribute value from an RSS feed which contains namespaces? Need to retrieve value "CA" from 'ac:country="CA"' in the code below. Thanks In Advance! [CODE]<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ac="http://palm.com/app.catalog.rss.extensions"> <channel> <link>http://www.palm.com</link> <title>Device Apps for US</title> <description>Complete list of US Device channel applications … | |
Hi all, i'm new in c# & xml. i want to add new element to the existing xml (data.config) file which was created by other person. i'm using microsoft visual studio 2005. and i also want to add some new attribute to that new element. My code is like ... … | |
Hi, I have an XML snippet as in the following: [CODE]<music_songs> <song> <title>(I Just) Died In Your Arms</title> <category>Rock</category> <album>80 Popular Hits</album> <artist>Cutting Crew</artist> <date added="03-24-2009"/> </song> </music_songs>[/CODE] Thiis is one of the songs out of 5 categories I have, and currently I use XPath expression as in the following: … |
The End.