6,049 Topics
![]() | |
Hi everyone!! I am using cfm files and i have never used cfc; i ve read about cfc but i could not figure out how it works? could i use this cfc files in my cfm? and can you give example like calling an xml file. | |
Hi All, i have an XML [CODE]<?xml version="1.0" encoding="UTF-8" ?> <Rowsets DateCreated="2011-02-14T12:24:00" EndDate="2011-02-14T12:24:00" StartDate="2011-02-14T11:24:00" Version="12.0.2 Build(88)"> <Rowset> <Columns> <Column Description="BatchNumber" MaxRange="1" MinRange="0" Name="BatchNumber" SQLDataType="12" SourceColumn="BatchNumber" /> <Column Description="VersionCode" MaxRange="1" MinRange="0" Name="VersionCode" SQLDataType="3" SourceColumn="VersionCode" /> <Column Description="MaterialType" MaxRange="1" MinRange="0" Name="MaterialType" SQLDataType="12" SourceColumn="MaterialType" /> <Column Description="LotNumber" MaxRange="1" MinRange="0" Name="LotNumber" SQLDataType="4" SourceColumn="LotNumber" /> … | |
Hi there, I am thinking about the best way, how to update my records in database (MySQL) from XML feed. I have database and this database contains the daily offers from several sales portals. So now - about midnight I am deleting all records from my table and with using … | |
Hi All, <client> <description>KKR</description> <rits>Test</rits> <time_zone_code>US/Central</time_zone_code> <directory_code>Foler</directory_code> </client> I need to fetch the above and put it in the form HTML FORM. Note : Must make use of Xpath,(Identity Transformation) | |
I have a PHP object that I'd like to convert to XML so that I can use SimpleXML to run an xpath on the data. Can someone suggest some way to do this? Basically, I have the following PHP object and I need to be able to search for certin … | |
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="no" encoding="ISO-8859-1"/> <xsl:param name="context"/> <xsl:param name="renderId"/> <xsl:param name="token"/> <xsl:include href="../../wcf/controls.xsl"/> <!-- buttons with spaces inbetween --> <xsl:template match="button[@hidden='true']"/> <xsl:template match="button"> <xsl:text> </xsl:text> <input type="submit" name="{@id}" id="{@id}" value="{@label}" onclick="iceSubmitPartial(form, this, event);return false;"/> <xsl:text> </xsl:text> </xsl:template> <xsl:template match="tree-extras-top | tree-extras-bottom"> <tr> <td class="navText"> <xsl:apply-templates/> </td> … | |
hi all I am new to web services.I want to know how to extract the java file from the given WSDL in which i have https based URI. please suggest | |
Hello I am working in my study with xml file therefore I want to read an xml file with c++ to get the information such the coordinates of the points in order to use them later. I have written the following code, but [U][B]I have just taken only one value[/B][/U]. … | |
Hello out there! Can anyone help me with a hint of how to solve this problem: I have a text file and I want to count the frequency of each stopword in the file. I have an XML file stopwords.xml against which I check for stopwords. My code is working … | |
Good Day All i am having a strange error here. I am using Silverlight and i am accessing an Asp.net page inside a RadHtmlContainer. i am doing an Insert that will insert only two records and i am calling a Service that i tested independently with a wcftest client and … | |
Can any one tell me how to read connection string from XML file ?? Thanks in advance for you help | |
I am writing an XSL document, using which I need to print a report. The report will have two tables and the table values and lables/header column should be displayed only if there is data in my JAVA object of class "Transfers". I thought of using <xsl:if> condition to check … | |
Hi, I am trying to convert a word xml into another xml file format using XSLT. Here I need to check the all the following siblings with some condition. If that condition is satisfied, the control should exit from that loop. How can i achieve this, I am desperately need … | |
i need help with xslt .. i need to figure out start and end date by looking at a specific post date if DAY of the post date is between [1 - 15] then go back one month and for day use 15 - 31 if DAY of the post … | |
ok here my code [CODE] libxml_use_internal_errors(true); $objXML = simplexml_load_file('MainRelease.xml','my_node'); // load xml file if(!$objXML){ $errors = libxml_get_errors(); foreach($errors as $error) { echo $error->message,'<br />'; } } else { $Result = $objXML->xpath('AllRelease/Release/name[@rdate="'.$DATERELEASE.'"]'); if(empty($Result)){ $AllRelease = $objXML->xpath("//AllRelease"); $releas = $AllRelease[0]->prependChild2("Release"); $dat = $releas->prependChild2("name"); $dat->addAttribute("rdate",$DATERELEASE); $releas->prependChild("comment",$COMMENT); $Anime = $releas->prependChild2("Anime"); $Anime->prependChild("popup",$POPUP); $Anime->prependChild("Title",$VIDEONAME); $Anime->prependChild("VideoUrl",$dir); $objXML->asXML("MainRelease.xml"); … | |
I need some help, some of the recent posts I made probably made no sense. lol. XML file im working with: [url]http://www.vafinancials.com/web/hubs_xml.php?id=18686[/url] I had an Idea but am unsure of how to use it. I thought of using something like a SQL query to echo out certain hub info. Like … | |
I am implementing an applet module which receiving an object sent from a servlet. The following is used to setup connection. [CODE]private URLConnection getServletConnection(String hostName) throws MalformedURLException, IOException { URL urlServlet = new URL(hostName); URLConnection con = urlServlet.openConnection(); con.setDoInput(true); con.setDoOutput(true); con.setUseCaches(false); con.setRequestProperty("Content-Type","application/x-java-serialized-object"); return con; } [/CODE] The following is the … | |
My php code to read my xml is there anyway to sort by date or event_id? [CODE]<?php $doc = new DOMDocument(); $doc->load( '../events.xml' ); $date = array(); // initialize data array $books = $doc->getElementsByTagName( "event" ); foreach( $books as $book ) { $evts = $book->getElementsByTagName( "event_id" ); $evt = $evts->item(0)->nodeValue; … | |
Hi All, Recently i have developed a new XSL file in altova XMLSpy , and the XSL version is 2.0. When i tried the Transformation , in different environemt(without using XMLSpy), i am thrown with below error. ERROR: 'Syntax error in 'descendant::element()'.' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could … | |
Hi All Ive got an XSL for some XML data. The XML data contains a date field called OrderNum_OrderDate. How can I filter the data so it only displays data from the XML that has a date of TODAY + 7 days. I only want to see information for the … | |
Hi There, I have a usage problem with CURL output. I have a web services and I use CURL to get the data, However this web services set up as XML output and I want to convert it to array to use the result in the web form. My CURL … | |
Hi all, I'd appreciate some advice concerning the following issue. I have a situation with two very different ways to implement. Both are easy, but Im not sure of the pros and cons of each. Basically I am allowing users to message each other on a website, and so I … | |
Hi, I'm trying to extract an inner node and place it at the level as the element <para>. However I'm unable to figure it out. Source XML: [CODE] <para> Lorem ipsum dolor sit amet, <i>consectetur</i> adipiscing elit. Aenean vestibulum pharetra metus. <formula altimg="fig1">E = mc^2</formula> Curabitur ac nibh purus, eget … | |
Hi all, I'm working with xsl-fo at the moment to create an interactive document. One of the features which I would like to implement is <fo:multi-switch>, <fo:multi-case> and <fo:multi-toggle>. I am using the Apache FOP processor and have discovered that it doesn't support these elements. I researched a few other … | |
Are there any easier ways to use simple XML as I need to create a flash application with simple xml. What I am using now is [CODE]<td><center><?php if($xml === false) { echo "There was an error opening the xml file."; exit; } else { foreach($xml as $pilot_first_name) { echo $pilot_first_name->fn … | |
The question how to create HTML output to the browser from a Servlet based on XML data often comes up. Here's a fully functional example on how to achieve this using Jakarta Xalan 2 and Xerces 2. The system is quite simple, most of the code is concerned with housekeeping … | |
Hai i created a proxy classes using wsimport command...while running those command i got this error.please rectify this problem [WARNING] SOAP port "ServiceSoap12": uses a non-standard SOAP 1.2 binding. line 138 of [url]http://10.0.3.24/Test/service.asmx?wsdl[/url] | |
Hey.. I am working on a new project and I am using Joomla version 1.5.22. I need to display one horizontal search form in the middle of home page and the same search form in vertical style in all other pages but in left position. So what I did is, … | |
this is a part of my code. can anyone help to write database tables to xml format without usingbuiltin function in .net (i.e xmltextwriter and writexml) private void WriteDataSetToXmlFile(DataSet ds, string fileName) { if (ds != null) { string b = TextBox2.Text; string absoluteFileName = Server.MapPath(fileName); System.IO.FileStream myFileStream = new … | |
Hello All, Ii want to know how can i check whether the response from the server is inJSON format or XML format . Please let me know how to do this, | |
Hi! I have a php code that reads xml file. In xml file I have the german letter ö (this xml file is saved as UTF). This is mistake. I don't get ö. I get some strange carachters (like ö). Can somebody help me? Thanks a lot! | |
Hello! I have followed this tutorial for building my chat application. When i try to add reference of my service i get the following error: [I]Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it.[/I] My web.config is as follows: [CODE]<system.serviceModel> <extensions> <bindingExtensions> <add … | |
I am doing a school assignment. One of the problems I have is to add a duration on to an existing date. I can't find any support for this problem with standard XSLT. So, I had a stab at using EXSLT which has an add method to do exactly what … | |
Hi Everyone, I am trying to write a string variable containing XML in the form of text into an iframe such that it shows up as formatted XML with the expand(+) and collapse (-) options that default in IE when opening an XML file. The first thing I tried is … | |
Hi there, I'm trying to setup a website with a database. I want my php code to create the database and then input the data into it, however a get the error on my register page: Warning: mysql_connect() [function.mysql-connect]: Access denied for user '*****' (using password: YES) in /fg_membersite.php on … ![]() | |
If someone could help me I'd be extremely grateful! Thank you! :) :) :) Here is my xml: [CODE]<?xml version="1.0" encoding="utf-8"?> <quotes> <quote> <name>Bob</name> <id>2</id> </quote> <quote> <name>Bob2</name> <id>4</id> </quote> </quotes> [/CODE] I am using this to try and delete the entire 'quote' node that contains the id of value … | |
Hi All, We have to create a schema for the below. 05 :LSRR:-CARD-INFORMATION-GROUP. 10 :LSRR:-CARD-INFORMATION-COUNT PIC 9(04). 10 :LSRR:-CARD-INFORMATION OCCURS 1 TO 1000 TIMES DEPENDING ON :LSRR:-CARD-INFORMATION-COUNT 15 :LSRR:-CARDSEQUENCENUMBER PIC 9(04). 15 :LSRR:-CARDNUMBER PIC X(19). 10 :Next field The field LSRR:-CARD-INFORMATION occurs 1000 times depending on the LSRR:-CARD-INFORMATION-COUNT. Does anyone … | |
Hi there, I need to be able to see and modify an xml value. I used to be able to do so using xpath when the xml structure was: [CODE]<root> <employeeA>jones</employeeA> <employeeB>smith</employeeB> </root>[/CODE] by using /root/employeeA/text() to get "jones" but now the xml structure has changed to the following: [CODE] … | |
Hello everybody, I have a xml socket server which get data from xml sockets out of actionscript3. Now I'm having a lot of if statements. Can I use another way to make my code more clean? Ivibot is a piece of hardware my school provided. LedBlink is a runnable class … | |
Hey guys, I'm kinda late on a college project and being kinda noobish to C# doesn't help either... Anyway: [CODE] using (XmlReader reader = XmlReader.Create("myXml.xml", settings)) { reader.MoveToContent(); reader.ReadStartElement("users"); while (reader.ReadStartElement("user")) { string userID = reader.ReadElementContentAsString("userID", ""); string userName = reader.ReadElementContentAsString("name", ""); reader.ReadEndElement(); lstContent.Items.Add(userID + " : " + userName); … | |
i am using tomcat7.0,jdk1.6,and i downloaded the jax-wsri jar files. first i created folder named ws in webapps in tomcat folder. then in ws folder i created WEB-INF folder and META-INF.and in WEB-INF i created folder classes&folder lib. then i created the web service class as follows [CODE]package hello;import javax.jws.WebMethod;import … | |
I am new to using xml in c sharp. I am able to enter details to the xml file (name of file "Data1.xml") through text boxes.But before entering details to the xml file,i need to first verify if any other 'well' have the same 'name'. 'name' has to be unique. … | |
Hi, My homepage of website contains periodic ajax requests, due to which the session does not time out. Referring to [URL="http://ajaxpatterns.org/Timeout"]http://ajaxpatterns.org/Timeout[/URL] I decided to use timer and event (like mousemovement etc.) to check whether user is active or not and thus invalidating session after inactivity for 'certain' time. To set … | |
Could anyone help me using what method is the best to read the xml value below ? Example i want to read the Column & Row Value ? Columns = "82" Rows = 45 Here was the xml file content [CODE]- <Maps> - <Map xmlns:semi="http://www.XXX.org" FormatRevision="XXX G85-0703" SubstrateId="NA46696-19-E1" SubstarteType="Wafer"> - … | |
Could you offer to me some search engines which has XML sitemap submission option? I know the Google has this opportunity but what about the others? | |
Hi there, Can anyone point me to where I can find good tutorials (or even an online book) of how to connect to XML with Java (Reading/Writing to an XML file etc). I've tried to Google it but I just seem to find tutorials that are very confusing and vague. … | |
Hey guys, I'm tying to merge two XML file for days but it doesn't work. Here is the problem: I want to merge these XML files: graphs.xml [CODE] <?xml version='1.0' encoding='utf-8'?> <ph:Graphs xmlns:ph="http://www.merge.something.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <ph:Graph name="mass_spring_mo"> <ph:Element id="0" type="Mass"> <ph:Attribute> <ph:AttributeField name="type" value="float" /> </ph:Attribute> <ph:Port id="1" type="port"> <ph:Attribute> … | |
Hi all. I'm kind of hoping somebody could help me out with this little problem I've been trying to work out for the past few days. What I'm trying to do is grab a list of "Titles" of some certain shows depending on what the "Season" is. Something like this: … | |
Hi Folks, I am trying to implement a script where I want to check if the input value has date string in it or not. For example: [CODE] <ota:Caution ID="Alternative" Type="PackageDetail">Room</ota:Caution> [/CODE] And [CODE] <ota:Caution ID="Alternative" Type="PackageDetail">2011-11-12</ota:Caution> [/CODE] In the first example, the Caution element has value as "Room", which … | |
Hi All, The below is the value of the variable when used with apply templates [CODE]<results multiple-outputs="true" transactional="true" xmlns:v12="http://www.americanexpress.com/informationservice/schema/ICS/CustomerService/v1/" xmlns:v1="http://www.americanexpress.com/informationservice/service/ICS/CustomerService/v1/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > <url input="multi-request-A">http://127.0.0.1:2022/ICS/CustomerProvider/v1</url> <url input="multi-request-A">http://127.0.0.1:2023/ICS/CustomerProvider/v1</url> <url input="multi-request-A">http://127.0.0.1:2024/ICS/CustomerProvider/v1</url> </results> [/CODE] The below is the value of a variable without apply templates and using for each [CODE] <results multiple-outputs="true" transactional="true"> <url … |
The End.