parse error occured in my php script. this is the line in which the error was occured.
photos[$i]="base_url().'uploads/'.$productdata2[$i]->image";
help me please......
Hi,
I am working on an iphone application in which I am consuming a webservice.
So i am parsing the XML file data. any idea about how to parse self closing tag
like: State/ and how to read data of self tag like: Contact Email="[email protected]" Name="PhD" Phone="123-521-3388" Source="location"/
I am parsing xml file using NSXMLPARSER class methods and library
Thanks,
I have a Python app that contains an object structure that the user can manipulate. What I want to do is allow the user to create a file declaring how the object structure should be created.
For example, I would like the user to be able to create the following file:
foo.bar.baz = true
x.y.z = 12
and for my app to then create that object tree automatically. What's the best way to do something like this?
Hi ,
I am trying to load hebrew rss using the fllow :
Xml.parse(_InputStream, Xml.Encoding.ISO_8859_1 , root.getContentHandler());
taken from ibm site :
link text
I would like to use other Encoding like "ISO8859_8" rather than :
Xml.Encoding.ISO_8859_1,
Xml.Encoding.US_ASCII,
Xml.Encoding.UTF_16,
Xml.Encoding.UTF_8
Thanks a lot!
The default methods for dealing with xml in c# seem incredibly crude to me, leading me to suspect that I must be missing something in my searches. What is considered the standard best practices to parse xml files in c#?
Im using c#.net windows form application. I have a xml file .I need to populate this xml file into a tree view. I can do that using "xml document" but i need to do it using xElement.
I am having a hard time to find out which font is used by the Win 7 File Explorer in the tree view on the left hand side. Better, of course, would be if I can programmatically find out which the right font is (C#).
I searched the Windows 7 design guidelines but this particular scenario is not listed (at least I couldn't find it).
So anyone good with fonts?
As the title says, I want to parse some Java source code in Java. I'm pretty sure there are other java libraries that already perform this, but I couldn't find any.
Our development cycle rarely requires a branch so we have what tfs appears to consider a single, never-ending development cycle. Our problem is that each build includes an ever increasing long "Generating list of changesets and updating work items" step that includes all changesets/work items back to day 1.
What is the proper step that we need to perform to formally lock and label (wrong terms I'm sure) the source tree so that a new cycle of changesets and work items can begin.
Thanks!
I am new at ipad and iphone development.
I would like to parse the table content of a PDF file.
This way i can map page number and set an internal link so i can jump to that page.
Could you please provide me a sample of code ?
I want to use the foreach container to iterate through a folder matching something like: "Filename_MMYYYY.xls". That's easy enough to do; but I can't seem to find a way to parse the MMYYYY from the filename and add it to a variable (or something) that i can use as a lookup field for my DimDate table. It seems possible with a flat file data source, but not an excel connection. I'm using Visual Studio 2005. Please help!
Hi!
Is there a method to build a balanced binary search tree?
Example:
1 2 3 4 5 6 7 8 9
5
/ \
3 etc
/ \
2 4
/
1
I'm thinking there is a method to do this, without using the more complex self-balancing trees. Otherwise I can do it on my own, but someone probably have done this already :)
Hi I have a tree structure.. I am using Awesome nested set plugin. how to add nodes to the children at various levels. Please help me. I want to add ,edit and delete nodes at any levels.
Can anyone help me for the same?
Hello. I'm writing an algorithm for finding the second min cost spanning tree. my idea was as follows:
1) Use kruskals to find lowest MST.
2) Delete the lowest cost edge of the MST.
3) Run kruskals again on the entire graph.
4) return the new MST.
My question is this: Will this work? Is there a better way perhaps to do this?
I am reading a .xls file and then procesing it inside and rewriting it in the end of my program. I was wondering if someone can help me to parse the dates
as my input file name is like file_1_2010_03_03.csv
and i want my outputfile to be
newfile_2010_03_03.xls
is there a way to incorporate in matlab program so i do not have to manually write the command
xlswrite('newfile_2010_03_03.xls', M);
everytime and change the dates as i input files with diff dates
like
file_2_2010_03_04.csv.
Thanks
The default methods for dealing with xml in c# seem incredibly crude to me, leading me to suspect that I must be missing something in my searches. What is considered the standard best practices to parse xml files in c#?
I have the directory ~/fooscripts/ and inside there are foo1.txt, foo2.txt, etc etc
I have a command that takes the file foo1.txt as input and does some calculation. The output location etc is handled internally in fooprog
fooprog -user-data=foo1.txt
I would like to automate the whole thing in a bash script so that the script will parse all txt files in ~/fooscripts/ sequentially. I am a newbie in bash. Could anyone give me a hint?
I am trying to parse the MySQL data types returned by "DESCRIBE [TABLE]".
It returns strings like:
int(11)
float
varchar(200)
int(11) unsigned
float(6,2)
I've tried to do the job using regular expressions but it's not working.
PHP CODE:
$string = "int(11) numeric";
$regex = '/(\w+)\s*(\w+)/';
var_dump( preg_split($regex, $string) );
Hi there,
I'm trying to find information on different ways to traverse an object tree in python.
I don't know much about the language in general yet, so any suggestions/techniques would be welcome.
Thanks so much
jml
i have to create a program which can have n number of nodes and each subnode can have n number of subnodes and so on, its not a binary tree.
i need to know how can one create it?