3,634 Topics

Member Avatar for
Member Avatar for prakash_05

Guys, right now i am posting xml to a service running on certain port. my sample code is [CODE] Quote: $XPost = fread($handle, filesize($xmlfile)); fclose($handle); $ch = curl_init(); // initialize curl handle curl_setopt($ch, CURLOPT_VERBOSE, 1); // set url to post to curl_setopt($ch, CURLOPT_URL, $URL); // set url to post to …

Member Avatar for aafasihah
0
90
Member Avatar for dhudnall

Hello All, I currently have a situation in which I need to dynamically populate a new row in a repeating table on an InfoPath form. I need to copy a field that is an external field into the newly created field in the repeating table. I was directed to an …

0
61
Member Avatar for smandape

Hello experts, I am trying to extract data from XML file using XSLT. I am trying to code a general XSLT code that can handle similar XML files that may differ a bit from each other. the XML code I am working on can have the following 4 scenarios for …

Member Avatar for xml_looser
0
346
Member Avatar for Climber Ty

So I am working on this XML project to create a small list of favorite DVDs, etc. Maybe I missed it (or that I may have not gotten this far in my reading) but in my DTD I want to restrict movie_review to only allow (G | PG | PG-13 …

Member Avatar for Climber Ty
0
274
Member Avatar for DarkLightning7

I can't find anything wrong with this document. I am using the xom libraries to parse this doc and they keep giving me an error. If someone could point out my errors that would be great. [CODE] <?xml version = "1.0" encoding = "UTF-8"?> <update version = "0" date = …

Member Avatar for xml_looser
0
184
Member Avatar for chriselectrix

Hi All I have an XML output that looks similar to the below ... [CODE]<ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[60]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[70]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[INSP A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[INSP ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[80]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[GET F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET FITTING LID]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[90]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[KIT F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[KIT FITTING …

Member Avatar for xml_looser
0
233
Member Avatar for theighost

Hello, I want to write xml with php and Im using the code in this tutorial: [url]http://www.ibm.com/developerworks/library/os-xmldomphp/[/url] I've made the php page and everything looks fine when I access the PHP file, I get the XML structure and all. the problem is, it works only if the file in in …

Member Avatar for kokoro90
0
179
Member Avatar for ibakir

lately i have did a nice idea , that i have a lot of course programs inside my XML file <?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title>Training Programs</title> <link></link> <description>NA</description> <language>en</language> <copyright>NA</copyright> <lastBuildDate>Wed, 19 Apr 2006 16:26:12 -0800</lastBuildDate> <generator>text</generator> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <item> <title>HR</title> <link>data/feed1/article_1.html</link> <pubDate>Wed, 19 Apr 2006 16:26:12 -0800</pubDate> </item> …

Member Avatar for ibakir
0
243
Member Avatar for Dragazarth

I feel this is the wrong type of use of this forum but I don't know where else to turn to! My Maths summary booklet which I have been typing up for my exams has an XML error within zip. I have tried to fix it but I don't know …

0
102
Member Avatar for reborn2010

Dear Buddies, Need your help to make a simple regex to grab all codes from [B]<!-- Begin Code --[/B]> until [B]<!-- End Code -->[/B] I would like capture this code for deleting in Yahoo pipes. code: [code]<!-- Begin Code --> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '132829708015487', status: …

Member Avatar for reborn2010
0
180
Member Avatar for shack99

Hi everyone, I'm new to c# ( I've done java before) and I'm having a problem with one of our tutorials. We have to read some data from an XML file. When doing it with a console application it turned out fine, but when doing it with a Windows forms …

Member Avatar for shack99
0
122
Member Avatar for chriselectrix

Hi All I have the following XML (which is generated automatically and cannot be modified): [CODE]<ExportQuery> <ELEC01_SOWaitingParts3> <OrderDtl_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></OrderDtl_PartNum> <JobOper_OprSeq><![CDATA[10]]></JobOper_OprSeq> <Part_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></Part_PartNum> <OrderDtl_OrderNum><![CDATA[18432]]></OrderDtl_OrderNum> <OrderHed_OrderNum><![CDATA[18432]]></OrderHed_OrderNum> <JobHead_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></JobHead_PartNum> <JobHead_JobComplete><![CDATA[Yes]]></JobHead_JobComplete> <JobOper_JobNum><![CDATA[018957]]></JobOper_JobNum> <JobOper_OpCode><![CDATA[GB STORE]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET BATCH STORES]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> <FalseJobNum><![CDATA[18957]]></FalseJobNum> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> …

0
112
Member Avatar for HerecyOfTheMind

Hi guys, keep getting an error: Cannot find the deceleration of element test when writing the xml. I have declared the element test in the schema but it appears to ignore it. The schema is as follows: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Test"/> <xs:simpleType name="Stringtype"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType …

Member Avatar for mrame
0
134
Member Avatar for vijiraghs

I have an XML file that i am parsing using DOM. I dont know why my code is not working. [CODE] <html> <head> <script type="text/javascript"> function loadXMLDoc(dname) { if (window.XMLHttpRequest) xhttp=new XMLHttpRequest(); else xhttp=new ActiveXObject("Microsoft.XMLHTTP"); xhttp.open("GET",dname,false); xhttp.send(); return xhttp.responseXML; } </script> </head> <body style="color:red"> <script type="text/javascript"> xmldoc=loadXMLDoc("food.xml"); document.write(xmldoc.getElementsByTagName("name")[0].childNodes[0].nodeValue); </script> </body> …

Member Avatar for tinymark
0
161
Member Avatar for flacka

We are replacing our old (dos) accounting system with the MS Nav 2009 and interfacing via webservices, or will be once I can get the NuSoap.php client to recognise that the service has operations. So far I have got the service to recognise the login (via ntlm auth), send the …

Member Avatar for tinymark
0
215
Member Avatar for vuyiswamb

Good Day All i have a a WCF service , that is checking the login details and its working fine as it should, i decided to add another Function that will display data. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace DAL { // NOTE: …

Member Avatar for tinymark
0
112
Member Avatar for antikceo

Does anyone know how I would go about extracting data from wikipedia. I am working on a site that requires specific information from articles from wikipedia, and I was wondering whether anyone has any helpful tips on how I would go about the data scraping. Thanks

Member Avatar for tinymark
0
86
Member Avatar for funkyash34

Hi I am trying to call my BMI webservice to a html page which calculates and return the result, I have the following code but it is not working. [CODE] <html> <head> <title>Body Mass Calculator</title> <script language="JavaScript"> function InitializeService(){ service.useService(http://localhost:57955/BMI.asmx, "BMI"); } var doubleFeet, doubleInches, doubleWeight; function GetBMI(){ doubleFeet = …

Member Avatar for tinymark
0
747
Member Avatar for raymonddenis

I am working for a company that wants their podcast on iTunes... The thing is that they want a specific URL destination (and not the link from the RSS feed itself) pointing from the iTunes page. I know that the tag to change on the RSS feed is the <link> …

Member Avatar for tinymark
0
153
Member Avatar for ChrisHunter

Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using …

Member Avatar for gusano79
0
190
Member Avatar for redrose123

Hi, I have an XPATH expression which works in Firefox but not IE8. "//country/region[text()="London"]/../timeZone" The error message I get from IE8 is " Message: .. may not appear to the right of / or // or be used with |." Thanks, Redrose123

Member Avatar for mrame
0
67
Member Avatar for RupertY

Hello, I'm new to XSLT and have a basic (probably) question. Instead of transforming from one xml format to another I would like to just modify data in a single xml document. How would one go about that? Regards, Rupert

Member Avatar for mrame
0
61
Member Avatar for soumya_mjmder

HI guys, i have split and xml in two parts, and in the root element element of the second one(which in this case is the output) want to add an attribute...but do not have any idea how to do this... my XML:[CODE]<DataSet> <Input> <Order OrderNo="tesco10" DocumentTYpe="0001"/> </Input> <Output> <Order OrderNo="Order1" …

Member Avatar for mrame
0
760
Member Avatar for Farhad.idrees

Hi i want to read xml.. i have two combo boxes one is showing Prgorrames Name and 2nd will show Semester No with respected to Programme.. For example if I select Programme BBa so another combobox will show all the semesters of BBa...and when i select semester 5 so data …

Member Avatar for CsharpChico
0
137
Member Avatar for Shamail

Please tell me what i am doing wrong, all i want is to print this xml file with the xslt file i have. <?xml version='1.0' encoding='UTF-8'?> <?xml-stylesheet type="text/xsl" href="../App_themes/videoPlayer.xslt"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList> <track> <title>Exam Security Whats OK and whats Not</title> <location>https://s3.amazonaws.com/arrtstreaming/ExamSecurity.mp4</location> <images>https://www.arrt.org/svideo/images/movieThumb.jpg</images> <annotation> ARRT takes the confidentiality of its …

Member Avatar for tinymark
0
136
Member Avatar for raf11

Hi I have looked around the forum but cant find anything about rss feed links. I have managed to get my rss feed working but i want users to be able to click on the title of the rss to take them bk to the orignal website can anyone tell …

Member Avatar for raf11
0
173
Member Avatar for gnzxzx

Below is an xpath that works. It returns all the values of the [U][B]value[/B][/U] attribute of the OutputField tag: [CODE] //Satellite/multidataset/file[contains(@name, '311multi')]/Data/DriftAnalysis[contains(@name, '311')]/Metric[@name='Detail' and @type='Overlap']/Element[@metrictype='Overlap']/OutputField[@name='Cleared']/@value [/CODE] But when I try to sum the returned values of the [U][B]value[/B][/U] attribute like the example below I get the error "Expression must evaluate …

Member Avatar for mrame
0
845
Member Avatar for imso

How should i reorient an android application in landscape mode once an apps is started?? I started an app but it does not automatically switch to landscape mode.. I tried writing it to "horizontal" but it does not work.. [CODE]<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" >[/CODE]

0
208
Member Avatar for DaveTran

I have a class which stores my camera settings [CODE] public class SaveData { public CameraFreeLookSettings CameraSettings; /// <summary> /// Parameterless constructor for XML Serialization/Deserialization /// </summary> private SaveData() { } public SaveData(CameraFreeLookSettings cameraSettings) { CameraSettings = cameraSettings; } } [/CODE] I'm trying to save those settings using a SaveFileDialog …

Member Avatar for DaveTran
0
210
Member Avatar for sireesha g

Hi All, I have an xml [CODE] <?xml version="1.0" ?> - <Rowsets DateCreated="2011-03-15T16:31:51" EndDate="2011-03-15T16:31:51" StartDate="2011-03-15T15:31:51" Version="12.0.2 Build(88)"> - <Rowset> - <Columns> <Column Description="ProductID" MaxRange="1" MinRange="0" Name="ProductID" SQLDataType="4" SourceColumn="ProductID" /> <Column Description="BatchID" MaxRange="1" MinRange="0" Name="BatchID" SQLDataType="12" SourceColumn="BatchID" /> <Column Description="ReviewVersion" MaxRange="1" MinRange="0" Name="ReviewVersion" SQLDataType="-6" SourceColumn="ReviewVersion" /> <Column Description="DispositionVersion" MaxRange="1" MinRange="0" Name="DispositionVersion" …

Member Avatar for xml_looser
0
67

The End.