6,049 Topics

Member Avatar for
Member Avatar for asifalizaman

hi!guys i think you all will be fine,..........Today i want to know from you what is the difference b/t PHP and XML also which is best ,which language i start learing first and what's relation are among b/t two languages..My poin of view is PHP is hypertext preprocessing language used …

Member Avatar for asifalizaman
2
537
Member Avatar for Samyx

Hello Everyone, How can I verify if an date type field is empty? I tried: `I_MENOP_NA00_OOPH_DT_3994 eq ""` but it does not work for a partial date type field. <RuleDef OID="MENOPAUSAL_STATUS_V21RULE12" Name="OOPH Provided But Procedure Date Not Provided"> <Description>If OOPH is marked Yes, the Procedure Date should be provided.</Description> <Expression>I_MENOP_NA00_OOPH_9377 …

Member Avatar for Samyx
0
124
Member Avatar for chdboy

This code creates XML File Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As SqlDataAdapter Dim ds As New DataSet Dim sql As String connetionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" connection = New …

Member Avatar for chdboy
0
250
Member Avatar for anisha.silva

Hi, I am getting a xml object from as a web response for getting data from a web page the content is as : " <bookshare>\n <version>4.1.1</version>\n <messages/>\n <book>\n <metadata>\n <author>David Flanagan</author>\n <available-to-download>0</available-to-download>\n <bookshare-id>21385</bookshare-id>\n <brief-synopsis>The 1.4 release of Java 2 Standard edition brings a load of new features - and …

Member Avatar for anisha.silva
0
335
Member Avatar for otengkwaku

I want to do and internet radio and i need someone to point me in the right direction that is, what technologies to use and also useful links and book. thank you

Member Avatar for alex007
0
207
Member Avatar for helixkod

I have an XML file that is in this format: <root> Test string <Signature> WvZUJAJ/3QNqzQvwne2vvy7U5Pck8ZZ5UTa6pIwR7GE+PoGi6A1kyw==</Signature> </root> I was able to produce the SHA256 and produced a string by using the following: string CalculateSHA256(const string& input) { SHA256 hash; string digest; StringSource _(input, true, new HashFilter(hash, new HexEncoder (new StringSink(digest)))); return …

Member Avatar for plenty.groover
0
409
Member Avatar for bs111

I am just learning Xpath. How to mix 2 or more xpath validtions into a single line. On my page, I have 2 different tables under hthe //body tag. I want to validate two td s that exist on these 2 different tables. IsElementPresent is my own method. It uses …

Member Avatar for bs111
0
226
Member Avatar for danimischiu
Member Avatar for piyush09

While Executing the XSL trasnformation got following error: (Location of error unknown)XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerConfigurationException: XML-22108: (Error) Invalid Source - URL format is incorrect. Exception in thread "main" java.lang.RuntimeException: javax.xml.transform.TransformerConfigurationE xception: XML-22108: (Error) Invalid Source - URL format is incorrect. at org.apache.xalan.xslt.Process.main(Process.java:1126) Can anyone please tell the cause of such …

Member Avatar for Mike Askew
0
351
Member Avatar for Vijaysurya

$sXML = new SimpleXMLElement('<deletepicture />'); foreach($planspaceImages as $img) { $xImg = $sXML->addChild('img'); $xImg->addChild("id", $img["id"]); $xImg->addChild("album_id", $img["album_id"]); $xImg->addChild("personal_id", $img["personal_id"]); $xImg->addChild("name", $img["name"]); $xImg->addChild("description", $img["description"]); } //$this->picfilepath = sfConfig::get('app_deleteduser_rootdir'); $sXML->asXML("pic.xml"); i want to this xml data store in dynamic filepath$this->picfilepath = sfConfig::get('app_deleteduser_rootdir')."\\".$personId; the above code generated pic.xml in my project web directory,but i …

Member Avatar for Vijaysurya
0
218
Member Avatar for Johan_1974

Hello is it possible to use xslt to go from <XML> <TAG1>tag1value1;tag1value2</TAG1> <TAG2>tag2value1;tag2value2</TAG2> </XML> To this <XML> <LINE> <TAG1>tag1value1</TAG1> <TAG2>tag2value1</TAG2> </LINE> <LINE> <TAG1>tag1value2</TAG1> <TAG2>tag2value2</TAG2> </LINE> </XML> Any help would be most appreciated. Johan

Member Avatar for kevin patel
0
95
Member Avatar for sureshspeaks

Hi im an infant in perl scripting, Can any body help me in writing the code snippet for my need to parse xml file. i have an xml file which will have tag x,y,z repeating with different values through out the xml start and end tag, i need these different …

Member Avatar for DoRight
0
356
Member Avatar for helixkod

I have an xml file that I have to read in, convert all the carriage returns to \x0D and line feeds to \0xA, then call it into a function as a string. So for example my XML file is: <TEST> this is a string </Test> I would want a string …

Member Avatar for helixkod
0
1K
Member Avatar for deucalion0

I have been trying for a long time to use a mobile Doctype in my XSLT file like so: <xsl:output method="xml" omit-xml-declaration="yes" doctype-public="-//WAPFORUM//DTD XHTML Mobile 1.0//EN" doctype-system="http://www.wapforum.org/DTD/xhtml-mobile10.dtd"/> but when I do this my sites layout goes all crazy which you can see [here](http://mayar.abertay.ac.uk/~0902221/plcwork/). I need to validate my mobile site …

0
78
Member Avatar for ScarWars9

Hello, I am curious about starting to use XML concepts within my visual basic.NET applications. I have seen a few things on the internet, but I'm still a little confused on how to start using XML. I would really appreciate if someone could explain to me how to use XML. …

Member Avatar for tinstaafl
0
301
Member Avatar for Sandy20

`MSXML DLL : #import <msxml3.dll>` I am writing XML using MSXML DOM & expected to add multiple processing instruction. ex: <?xml version="1.0" encoding="ISO-8859-1"?> ------ first processing instruction. <?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?> ------ second processing instruction. <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> </catalog> I have write below …

Member Avatar for Sandy20
0
437
Member Avatar for Boniface Mutind

I have this json data and would like to convert to xml with php.. [themes] => Array ( [theme] => Array ( [0] => Array ( [name] => dasdasd [filename] => dasdasd [isDefault] => 0 ) [1] => Array ( [name] => dasdasd [filename] => dasdasd [isDefault] => 1 ) …

0
102
Member Avatar for Mike Askew

Been playing with the API a fair bit now in terms of writing a C# port of it. I tend to convert everything returned in JSON to an XmlDocument before manipulating it (Simply because I don't actually know how else to handle it within C#) However if I run any …

Member Avatar for diafol
0
276
Member Avatar for Amy Rami

how to represent an exist directory into an XML file ?? is there any system call to do that or there is a good built in library to use it ??? I wrote this #include<stdio.h> #include<stdlib.h> #include<string.h> #include<dirent.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> int main ( int argc, char …

Member Avatar for Ancient Dragon
0
86
Member Avatar for lamikayty

Please help. I try to run a simple Oracle query using the Xmlelement on Toad and SQLPlus and obtain an Access Violation error in Toad, while SQLPlus runs for a while before returning an End-of-file Communication File chanel error indicating its disconnecting. Is there setup required to use this function? …

Member Avatar for LastMitch
0
182
Member Avatar for cisumma

Hello I have a XML DB. I write the first element. I can not get the entries to (fragments) to write to the Database. I know I do not have the error handler setup right. The error stops the process on the transform. Is there some debugging techniques I could …

Member Avatar for cisumma
0
867
Member Avatar for cooldude1988

Sorry, If It is a stupid question but I am new to WCF. I have a C# project in which, I am loading a XML document (contains name of students and Id) using Linq to xml and I have to get the associated data (their due date, amount and stuff …

Member Avatar for Ketsuekiame
0
167
Member Avatar for vegaseat
Member Avatar for HiHe
3
642
Member Avatar for zachmandude32

First off, I'm not sure if this the appropriate place to post this question, but I thought I would just try anyway :?: I was wondering if anyone had any fun APIs that I could use basic authentication more specifically cURL. I you used to be able to use basic …

Member Avatar for Dani
0
224
Member Avatar for ray.chappel

I am working on a project that is suppost to work with 3 xml files. The program is suppost to ask which file you would like to import. It then makes a new folder in the current directory. The program is supposed to create a new file in the created …

Member Avatar for ray.chappel
0
373
Member Avatar for sss93

Hey I want to create an application which gets all the names of the users who liked a Facebook page, because I then will randomly pick 5 users for a specific prize, each week. I am familiar with the graph api and have experimented but cant seem to find the …

Member Avatar for LastMitch
0
98
Member Avatar for Johan1974

Hello is it possible to use xslt to go from Code: `<XML> <TAG1>tag1value1;tag1value2</TAG1> <TAG2>tag2value1;tag2value2</TAG2> </XML>` To thisCode: `<XML> <LINE> <TAG1>tag1value1</TAG1> <TAG2>tag2value1</TAG2> </LINE> <LINE> <TAG1>tag1value2</TAG1> <TAG2>tag2value2</TAG2> </LINE> </XML>` Any help would be most appreciated.

0
52
Member Avatar for Kobrakai

Hi all Hope you can help! I have an XML file which contains several bits of information for each software entry (snippet seen below). <software> <software_entry name="Adobe Acrobat X Standard" path="Applications\Acrobat\Acrobat X Standard\AcroStan.msi" type="msi" switches="/qn ALLUSERS=1" /> <software_entry name="Adobe Acrobat X Professional" path="Applications\Acrobat\Acrobat X Pro\AcroPro.msi" type="msi" switches="/qn ALLUSERS=1" /> </software> …

Member Avatar for Kobrakai
0
198
Member Avatar for sundog1

Hi Guys.. Hoping you can help here.. I'm dabbling with Linq as I'm wanting to pass a Node Value from the XML file into the Connection String. Currently my Code seems to be working and holding the Value in the System.(Code Below:)(Screenshot attached also) XDocument testXML = XDocument.Load("C:\\twDB.xml"); var DataBases …

Member Avatar for Ketsuekiame
0
259
Member Avatar for bylandsend

Hi, having a problem implementing partial page postbacks using a scriptmanager and an update panel. Here is a test page using a web form to call a user control. I am hitting the else statement in the code behind that confirms I do not have a functioning partial post back. …

Member Avatar for arun1123
0
3K
Member Avatar for randomkid73

Hi all, I'm having some issues with RewriteRules conflicting in my .htacccess file. For starters, here's the file: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On #Start forum rules RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(jpeg|jpg|gif|png)$ /public/404.php [NC,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] #Start wiki rules RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php …

Member Avatar for randomkid73
0
210
Member Avatar for mehnihma

Hi I have XML file that appends on the end of the file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head><title> </title></head> <body> <form name="form1" method="post" action="GetProductsXML.aspx?username=UASERNAME&amp;password=PASSWORD" id="form1"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2MTY2ODcyMjlkZC/1D4iGqP0urqyxWR+2OEQ90eHf" /> </div> <div> </div> </form> </body> </html> I am using this function: …

Member Avatar for diafol
0
256
Member Avatar for cisumma

ViewResources.properties Hello I have a a properties sheet I would like to know how to make bookMarkDB.home reference other properties from the ViewResources.properties sheet below. how can "bookMarkDB.home" create a systemDir by using the properties already defined? The only example I have seen uses $ but I have no clue. …

0
92
Member Avatar for bbt2d

I am new to c# and I am working with a xml file. I have appended to an existing sample file, but the formatting is off and some of the xml elements are missing. What I am working toward is appending to it 10 times just changing the number for …

Member Avatar for tinstaafl
0
252
Member Avatar for mehnihma

Hi I have problem getting XML file with curl. I get empty XML and error: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "1" in /home2/public_html/xmlupdate.php on line 62 xml 1 not loaded. the code for curl: $ch =curl_init(); curl_setopt($ch, CURLOPT_URL,$xml_url_1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); …

Member Avatar for mehnihma
0
2K
Member Avatar for adishardis

Hi, I use this script to extract and insert the desired variables to mysql.It does the job. $xml = new SimpleXMLElement('file.xml'); foreach($xml->loanaccount as $mess){ $account_number= mysql_real_escape_string($mess->account_number); $main= mysql_real_escape_string($mess->main); $type= mysql_real_escape_string($mess->{'application-array'}->{'application-type'}), $date= mysql_real_escape_string($mess->{'application-array'}->{'application-date'}), //insert into databse mysql_query("INSERT INTO account (account_number, main) VALUES ('$account_number', '$main')") or die(mysql_error()); echo "inserted into mysql<br /><br …

Member Avatar for adishardis
0
219
Member Avatar for yaragalla_mural

i have to display a combo box with some dynamic values that comes from the database when user checked a checkbox on the currently being viewed html page. I am getting dynamic values from the webserver as json or xml. Now i have take the values from the json or …

Member Avatar for riahc3
0
115
Member Avatar for vij123

Hello Sir, I have a simple Issue but It is not resolve by me i.e input parameter are not store in Ms-Access. I store the input parameter through Standard Action <jsp:useBean>. jsp:useBean call a property IssueData. this property exist in SimpleBean which create a connection from DB and insert the …

Member Avatar for mahe33
0
1K
Member Avatar for jaron1611

Morning, I am loading an xml file where i want to search low level node name if exists. For example: <xml> <A> <B> <c></c> <d></d> </B> </A> </xml> so i have IXMLDOMDocument and IXMLDOMNode, i need to load an existing xml file and to search the node <d> where i …

Member Avatar for pritaeas
0
59
Member Avatar for tunisia

I'm trying to expedite the process of manually opening up an XML file and searching for some info in it. I want to store some of the data, etc. Nothing elaborate. But I'm not clear on some of the file structure. For the seasoned XML data wrangler, can you instantly …

Member Avatar for tunisia
0
460
Member Avatar for adishardis

I'm trying to get an xml file from an ftp and then insert select data into mysql db. I'm shooting in the dark but from googling this is what i've tried so far: $curl = curl_init(); $file = fopen("import.xml", 'w'); curl_setopt($curl, CURLOPT_URL, "ftp://company@company.company.se/company/import.xml"); #input curl_setopt($curl, CURLOPT_FILE, $file); #output curl_setopt($curl, CURLOPT_USERPWD, …

Member Avatar for adishardis
0
484
Member Avatar for adishardis

Hi, I, getting a new xml file everyday to one of our external ftp servers. I want to get that file and then insert select data into my mysql. What I'm thinking is that I would use curl to get the file, then simplexml and then insert into database. But …

Member Avatar for adishardis
0
220
Member Avatar for bhagawatshinde

Hi, I am new in asp.net. i have an task to read xml file from server folder and insert these values to sqlserver 2005 database. how i can do this. thanks in advance.......

Member Avatar for softwareskill
0
894
Member Avatar for raaif

Hi again, I am trying to read an XML file in this format; [ICODE] <?xml version="1.0" encoding="utf-8"?> <words> <word id="Apple" def="A fruit" /> <word id="Dinosaurs" def="Now Extinct Animal" /> <word id="Giant Panda" def="An Endangered Animal" /> <word id="Asia" def="The Largest Continent" /> ..... </words> [/ICODE] I have more than 3000 …

Member Avatar for softwareskill
0
237
Member Avatar for buffalo0

Hi I have what I think is a simple problem but after much searching cant seem to find a solution. I have an xml file stored on an web server and I need to read the data using vb.net for a smart device application. I also need the ability to …

Member Avatar for softwareskill
0
5K
Member Avatar for jkdil33

Hi, I have a problem I want to save the values in user controls(textboxes) to an XML file(If not to text file) I want this to be done when client clicks on save data button I want to read the values in XML file(If not to text file) to user …

Member Avatar for softwareskill
0
222
Member Avatar for visweswaran28

Hi, I have a string like "\n <div> attrib1=\"test\"</div>" I want to pass this as parameter to xmldocument.loadXML(); I received an exception when I tried to pass the above string. Please suggest me to proceed. Thanks in Advance

Member Avatar for deceptikon
0
98
Member Avatar for ypks_destiny

hi i am working on a smallproject to display images from Xml to HTML page..It Works great on IE and FireFox But Not on Google Chrome this is my XML COde <Data> <Details> <Id> 1 </Id> <Photo><![CDATA[<img src=../Seceret/photos/download.jpg width=150 height=150>]]></Photo> <Mindet> Hi one </Mindet> <Maxdet> Hi I am 1 </Maxdet> …

Member Avatar for ypks_destiny
0
191
Member Avatar for rexdon

//Give me an example for Serialising Multidimensional array in c sharp. //While searching in net i found this code snippet [XmlIgnore] public char[,] Data; [XmlElement("Data")] [EditorBrowsable(EditorBrowsableState.Never)] public char[][] XmlData { get { /* copy contents of Data into a jagged array */ } set { /* copy contents of jagged …

Member Avatar for deceptikon
0
1K
Member Avatar for jaron1611

Morning, I am new to xml with delphi. My problem is that i know how to build am xml file, the output is something like this: **<EXPORT> <IMPORTMODEL>1</IMPORTMODEL> <SESSION></SESSION> <STARTDATE>26-01-2011</STARTDATE> <ENDDATE>26-01-2011</ENDDATE> <VOUCHERS> <VOUCHER> <AUTHOR> X </AUTHOR> <INPUTDATE>1/23/2013</INPUTDATE> <REFERENCE>M1000009</REFERENCE> <ONDUPLICREF>N</ONDUPLICREF> <JOURNALTYPE>STANDARD</JOURNALTYPE> <DESCRIPTION>This is a test for the description of the voucher …

Member Avatar for pritaeas
0
219

The End.