6,049 Topics

Member Avatar for
Member Avatar for tiny7415

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.

Member Avatar for kha_tsn
0
214
Member Avatar for sireesha g

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

0
61
Member Avatar for Manny7

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 …

Member Avatar for blocblue
0
99
Member Avatar for anandunics

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)

Member Avatar for anandunics
0
207
Member Avatar for toskers25

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 …

Member Avatar for blocblue
0
9K
Member Avatar for jeraldmuthu

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

0
103
Member Avatar for manish250

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

0
154
Member Avatar for snipermann

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

Member Avatar for ravenous
0
318
Member Avatar for bijib06

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 …

0
62
Member Avatar for vuyiswamb

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 …

0
66
Member Avatar for bahed121

Can any one tell me how to read connection string from XML file ?? Thanks in advance for you help

Member Avatar for bahed121
0
931
Member Avatar for name02

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 …

0
51
Member Avatar for sudheer2250

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 …

Member Avatar for sudheer2250
0
376
Member Avatar for crazyTrader05

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 …

0
51
Member Avatar for DarkVision

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

Member Avatar for DarkVision
0
155
Member Avatar for Joshua Kidd

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 …

Member Avatar for Joshua Kidd
0
106
Member Avatar for winecoding

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 …

Member Avatar for NormR1
0
164
Member Avatar for freshfitz

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

Member Avatar for twiss
0
1K
Member Avatar for anandunics

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 …

Member Avatar for anandunics
0
245
Member Avatar for chriselectrix

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 …

Member Avatar for SBA-CDeCinko
0
439
Member Avatar for kadriirdak

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 …

Member Avatar for kadriirdak
0
6K
Member Avatar for towerrounder

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 …

Member Avatar for nick.crane
0
214
Member Avatar for skuip

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 …

Member Avatar for skuip
0
173
Member Avatar for swebb

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 …

0
76
Member Avatar for Joshua Kidd

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 …

Member Avatar for twiss
0
72
Member Avatar for jwenting

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 …

Member Avatar for lemomo12345
0
933
Member Avatar for elakkiyatamil

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]

0
70
Member Avatar for nijicp

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

0
70
Member Avatar for samythehunk

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 …

0
47
Member Avatar for hisan

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,

Member Avatar for sneekula
0
350
Member Avatar for ivan3510

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!

Member Avatar for twiss
0
135
Member Avatar for tsfaridi

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 …

0
80
Member Avatar for Kruddler

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 …

Member Avatar for fpmurphy
0
369
Member Avatar for v_sriram

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 …

Member Avatar for v_sriram
0
734
Member Avatar for lovell_82

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 …

Member Avatar for diafol
0
539
Member Avatar for spunkywacko

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 …

0
69
Member Avatar for jaango123

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 …

Member Avatar for jaango123
0
111
Member Avatar for malk

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

Member Avatar for xml_looser
0
80
Member Avatar for MeandJava

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 …

Member Avatar for JamesCherrill
0
508
Member Avatar for spunkywacko

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

Member Avatar for spunkywacko
0
231
Member Avatar for khaled_jawaher

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 …

0
78
Member Avatar for zifina

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

Member Avatar for xml_looser
0
221
Member Avatar for rdhiravani

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 …

Member Avatar for rdhiravani
0
60
Member Avatar for gingank

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

0
71
Member Avatar for untungsupriono

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?

Member Avatar for Dani
0
23
Member Avatar for Dean_Grobler

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

Member Avatar for mKorbel
0
144
Member Avatar for michele_muc

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

Member Avatar for xml_looser
0
167
Member Avatar for Fritz.fx

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

0
72
Member Avatar for sbutt

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 …

Member Avatar for xml_looser
0
143
Member Avatar for jaango123

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 …

Member Avatar for xml_looser
0
427

The End.