3,634 Topics

Member Avatar for
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
333
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
205
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
401
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
223
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
347
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
93
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
75
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
297
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
435
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
99
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
275
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
85
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
180
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
861
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
164
Member Avatar for vegaseat
Member Avatar for HiHe
3
624
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
222
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
367
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
95
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
50
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
196
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
256
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
206
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
240
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
89
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
249

The End.