i want to check the combobox.selecteditem.tostring() on combobox select in a given xml with several nodes, where each one has an attribute called "name"
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
textBox1.AppendText(nameAttributeCheck(comboBox1.SelectedItem.ToString()));
}
cat...
I'm trying to pull in an src value from an XML document, and in one that I'm testing it with, the src is:
<content src="content/Orwell - 1984 - 0451524934_split_2.html#calibre_chapter_2"/>
That creates a problem when trying to open the file. I'm not sure what that #(stuff) suffix is called, so I had no luck searching for an answer. I'd...
I'm using SimpleXML to load in some xml files (which I didn't write/provide and can't really change the format of).
Occasionally (eg one or two files out of every 50 or so) they don't escape any special characters (mostly &, but sometimes other random invalid things too). This creates and issue because SimpleXML with php just fails, an...
So, I have an RSS feed with variations of each item. What I want to do is just get entries that contain a specific section of text.
For example:
<item>
<title>RADIO SHOW - CF64K - 05-20-10 + WRAPUP </title>
<link>http://linktoradioshow.com</link>
<comments>Radio show from 05-20-10</comments>
<pubDate>Thu, 20 May 2010 1...
This is a JSON mapping question from a json newbie.
Currently i'm reading xml using xpath in C#, and the xpath are returning either the element or attribute node values, as is the schema's want. I want to write out some of the returned values into a json formatted file. I know i can faneigle the xpath expression to return the element or...
Is it possible to make multi-column text as in newspaper in using Apache FOP?
It is continuos flow of text and not a table with two columns.
...
Hi,
I am writing an application where I have to parse multiple xml files as a response from a server. Till now, I have written different xml parser classes for each xml depepending on the tags present in different xmls ? Can I combine all xml parser classes and write a single xml parser that handles all different tags in different xmls ...
I was playing with the Cinema 4D command line options and ran into a problem that might not be specific to the command line options.
I saved a basic scene(a textured cube) in two formats: the original .c4d(binary) format
and .xml(via File > Export > Cinema 4D XML).
The .c4d file renders with the texture applied, while the .xml file ren...
XStream by default unnecessarily escapes >," ... etc.
Is there a way to disable this (and only escape <, &)?
...
I've got an xml document that filled with people (parent node is "students", and there are 25+ "student" nodes).
Each student looks like this:
<student>
<name></name>
<surname></surname>
<grades>
<subject name="">
<small_grades></small_grades>
<final_grade></final_grade>
</subject>
<subject name="">
...
I have a collection of nodes xml.dom.Node objects created using xml.dom.minidom. I store them (individually) in a database by converting them to a string using the toxml() method of a the Node object.
The problem is that I'd sometimes like to be able to convert them back to the appropriate Node object using a parser of some kind. As far...
Hi,
i just want to know if there are any alternatives to simpleXML for parsing XML Data with PHP.
For example if simpleXML module is not loaded or even if there is a lib/class out there that has a better performance then SimpleXML.
...
I want to bind Repeater control to Dataset which is filled with XML data, but i don't know how to show attributes inside repeater.
Xml File:
<root>
<items>
<item id="9" name="111111111111" description="111111245" views="1" galleryID="0" />
</items>
</root>
Repeater code:
<asp:Repeater ID="rptrGalleries" runat="server">
...
how can i parse a local xml file in the assets folder using pull parser. cant get pull parser to work, always throws io exception. i think i cant get the path to the file, or connecting to the file
help please!
...
For example, for the xml below
<CATALOG>
<CD title="Empire Burlesque"/>
<CD title="empire burlesque"/>
<CD title="EMPIRE BURLESQUE"/>
<CD title="EmPiRe BuRLeSQuE"/>
<CD title="Others"/>
<CATALOG>
How to match the first 4 records with xpath like //CD[@title='empire burlesque']. Is there xpath function to do this? Ot...
I have a XHTML string I want to replace tags in
for example
<span tag="x">FOO</span>
<span tag="y"> <b>bar</b> some random text <span>another span</span> </span>
I want to be able to find tag="x" and replace FOO with my own content
and find tag=y and replace all the inner content with by own content.
What is the best way to do t...
What is the namespace for StreamElements in C# 3.5?
...
I'm not too fluent with the perl XML libraries (actually, I really suck at understanding encoding in general), all I'm doing is taking a string that possibly has characters such as "à" and putting it in an XML file, but when I open the file, I get an encoding error at the line containing such a character.
So I just need a lightweight wa...
I would like to be able to read XMLHttpRequest that is sent to a PHP page. I am using prototype's Ajax.Request function, and I am sending a simple XML structure.
When trying to print the POST array on the PHP page, I don't get any output.
Any help appreciated.
EDIT: Below is my code
<html>
<head>
<SCRIPT type="text/javascript" src...
Which one of two XML structures below do you prefer? Why? Any other suggestion is welcome :)
<Parameters>
<Parameter id=username>metdos</Parameter>
<Parameter id=password>123</Parameter>
</Parameters>
or
<Parameters>
<username>metdos</username>
<password>123</password>
</Parameters>
...