I am new to the XML and parsing. Just started!
Using Expat XML Parser in C on Linux i.e. libexpat.so and expat.h.
I would like to know that, is it possible to parse the xml file (elements, attributes and its values or strings) and create or map it as structure i.e. to form the structure from XML data available in the XML file???
Is there...
The images and links added to the description of my RSS feeds are not showing up in the feeds I'm publishing through Feedburner, but if I subscribe to the raw feed(example.com/feeds.xml) the image and links are published appropriately in the feeds. I don't see any problem in the format of my feeds. Does feedburner need a special format?
...
Hi all. I am really stuck here. I am creating an XML document with Groovy 1.7 and everything is working except one section is being escaped when it shouldn't.
I am starting out like this:
triadDoc = new XmlSlurper().parse(xmlTriadMessageDocumentPath)
writer = new StringWriter()
xmlBuilder = new Stre...
For some reason ToDictionary isn't working.
I am using vs.net 2010 and 4.0
XElement root = XElement.Load(fullPathToXml);
IEnumerable<XElement> nodes = root.Elements("root");
var dic = nodes.ToDictionary(...)
I want to convert it to a dictionary<string,string>
it says there is no defintion for 'ToDictionary'...?
...
I have to send some specific xml to a php script (from flash AS2) that then sends out sms message based on the xml. I have been given the xml by the sms sender and have tested it via their live demo and that works fine. The problem I am having is getting flash to send this XML.
The sms sender states that it needs to recieve the xml in t...
I have an XML element that looks something like:
<account year="2010">
<paymentDue>
<amount>0</amount>
</paymentDue>
<paymentDue>
<amount>752.00</amount>
</paymentDue>
</account>
I'm displaying the accounts grouped by year and I'm using the <xsl:choose> method to say if amount > 0, display a make paymen...
I have been wondering why when I set the encoding to UTF-8 and rendering the XML it replace the extended characters by escape characters (or character reference) like ’ instead of '?
I'm using the Render method
render(contentType:"text/xml", encoding:"UTF-8") {...}
with a proper header
render(contentType:"text/xml", encoding:...
I am looking for some examples of using xpath in Android? Or if anyone can share their experiences. I have been struggeling to make tail or head of this problem :-(
I have a string that contains a standard xml file. I believe I need to convert that into an xml document. I have found this code which I think will do the trick:
public...
Currently I have my WSDLs setup to deal with SOAP payloads. I now have a customer that wants to use the same services but they cannot create SOAP payloads (for various reasons, but nothing I can change). They instead want to send XML payloads.
My question therefore is how can I conigure my WSDLs so that it can accept simple XML payloads...
I'm writing a simple cms for a client and for the umpteenth time can't decide the best strategy going in.
My options, as far as I can tell, are:
1) Store my XML data as a flat file that is referenced by my actionscript. I could manipulate this file with a php "back end".
2) Have my actionscript call a PHP script that would output the...
The XML schema I'm working with has specific character lengths for strings. So I may have a string that's like:
"Jim & Mary"
which is 10 chars in C# but when it is written to xml it becomes:
"Jim & Mary"
If an XML schema said the string could only be a max of 10 chars. Would this string pass?
If not, how can I test in C# for th...
I checked many answers here and I think I am almost there. One thing that is bugging me (and for some reason my peer needs it) follows:
I have the following input XML:
<?xml version="1.0" encoding="utf-8"?>
<MyRoot>
<MyRequest CompletionCode="0" CustomerID="9999999999"/>
<List TotalList="1">
<Order CustomerID="999999999" OrderN...
Hello,
i am looking for an applet/application/code which reads XML. I know there are many 'Viewers' but i would like to list fields. Sort or search or group as GUI. So For example i have many books in XML and want to present them to lookup. Also a good feature is to convert fields (for example timestamps to date). Also producing diagram...
Hey all,
I have written a code in C# - XML which checks whether a value is there or not in a given XML document and prints the value and the particular tag associated with the value.
When we enter the Value of the Inner Text it will look for the value in the document and find it. I dont understand what exception to catch when the entere...
I wonder if it is better add an element by opening file, search 'good place' and add string which contains xml code.
Or use some library... i have no idea. I know how can i get nodes and properties from xml through for example lxml but what's the simpliest and the best way to add?
...
Hi,
I was going to use XML for communicating some data betwwen my server and the client, then I saw few articles saying using XML at any occation may not be the best idea. The reason given was using XML would increase the size of my message which is quite true, specially for me where nost of my messages are very short ones.
Is it a good...
What tools have you used to create class source code from xml files? Is this an edge case that I need to roll my own? I have need to create DTOs from some XML files, but the XML files are subject to change (add/remove attributes) so I need to be able to quickly update them.
I'm reallly not impressed with the .xml -> .xsd -> bloated .cs ...
I have an array with the following data:
[steamid] => stdClass Object
(
[0] => Shakyor
)
How can I get the 'Shakyor' string from there?
$array->$steamid doesn't work.
$array->$steamid[0] doesn't work.
$array->$steamid->0 is not legal markup obviously.
...
I have a file with a lot of this kind of thing in it:
<asp:TableCell ID="TableCell9" runat="server">Company
Organization:</asp:TableCell><asp:TableCell ID="TableCell10" runat="server">
How can I get the formatter to change it to shows like this:
<asp:TableCell ID="TableCell9" runat="server">Company Organization:</asp:TableCell>
...
So I've got this odd issue that I'm trying to narrow down...
My application is a ColdFusion back-end with a HTML, CSS and Flex front-end. The Flex application loads in appVars.cfm as "cfoutput" XML, uses those variables to then populate the correct company and user libraries and naturally load those xmlVideo.cfm, xmlImages.cfm, xmlText....