I'm receiving an xml message with unknown variable name elements... that is, they are not predefined...
I only know there can be 0 or more of those elements, allong with some other that are mandatory...
for example
<root>
<service>my service</service>
<resource>my resource</resource>
<action>update</action>
<parameters...
I am trying to group sibling data in an XML file.
Given :
<?xml version="1.0" encoding="UTF-8"?>
<data>
<competition>
<timeline>10:00</timeline>
<fixture>team a v team b</fixture>
<fixture>team c v team d</fixture>
<timeline>12:00</timeline>
<fixture>team e v team f</fixture>
<timeline>16:00</timeline...
From my sql log file, I think the QueryCache's physical properties are configured by the element:
<defaultCache
maxElementsInMemory="0"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
overflowToDisk="false"
memoryStoreEvicti...
please help me i am this question again
dont block this question
i want to post my xml file to a url
from where i will get a reponse xml document in return
but i dont know how to do this
i want to do this as simple as possible
without using curl or any other things
just using java script , ajx and php
please any one provide a co...
I have a class that I want to have opportunities to serialize/deserialize.
It implements interface IXMLConvertable:
public interface IXMLConvertable<T>
where T: new() {
T deserialize(XElement element);
void serialize(XElement element);
}
when T is a type of object to deserialize. The question is whether it`s a good practice or...
Apple provides the NSArchiver and NSUnachriver for object serialization / deserialization, but this can not handle any custom xml schema. So filling an object structure with the data of any custom xml schema has to be made manually.
Since the iPhone developer community is rapidly growing, a lot of newbie programmer are despairing to deal...
I use hideshow.el in my cc-mode buffers to collapse sections of the file I'm not looking at.
It would be nice to be able to do that in an XML doc. I use emacs 22.2.1 and the built-in sgml-mode for xml editing. I haven't gotten hideshow to work with the XML. I mean, I turn on the minor mode but the keystrokes have no effect. Ooh, e...
Given:
a xmlnode that you got from calling the XmlDocument.GetSingleNode method,
where you know that the node is an element,
if you want to find the simple path to that element, is there something more straightforward than climbing the tree til you get to the root node and buildling the path as you go? Not that that's hard, I just w...
I need to remove a bunch of ' from a string that I obtained through an XML document. I'm working with Actionscript 2, so Regex is not an option for me. Even though I'm looking for an Actionscript 2 solution, still reply with an Actionscript 3 answer if you have one for anyone else who might need it.
...
I have an XML file that contains database settings that may change depending on where it is read. Preferably, I would read those settings from some configuration file. How can this be done?
...
This is probably a very easy one for all SoapUI regulars.
In a SoapUI mock service response script, how do I extract the value inside the request I'm replying to?
Let's say the incoming request has
<ns1:foo>
<ns3:data>
<ns3:CustomerNumber>1234</ns3:CustomerNumber>
</ns3:data>
</ns1:foo>
How do I get the "1234" into a Groovy...
I don't see why order of elements is significant but not the case for attributes.
Can any one provide a sound reason?
element addressBook {
element card {
attribute name { text },
attribute email { text }
}*
}
In XML, the order of attributes is traditionally not significant. RELAX NG follows this tradition. The above patt...
I have a .cs file that builds an xml document and stores it in a variable.
I want to "inject" it into my <asp:XmlDataSource> so that I do not have to save each xml file (it is different every load). How could I go about this?
In my codebehind cs file, I have:
XmlDocument x = blahblah
XmlDataSource MySource = new XmlDataSource();
MyS...
I want to apply a XSL style sheet that counts the previous unique "ROLE" nodes and spits out the following output format of ROLE/@name, PERM/@perfrom and the number of unique ROLE nodes prior to the current node.
This is a continuation from this question but with a bit more complexity. I believe the Muenchian method is the best way to i...
I'm trying to invoke a web service which I do not control. The web service expects XML for which I have the xsd. I want to send the raw xml to the web service, i.e. preventing the proxy from XML-encoding whatever I send. How can I do this?
...
I have to store relational data (text, numbers and pictures) into an XML file. I want to maintain the relationship between data and the tables structure.
How do I go about doing that?
My Windows Mobile application use Windows Communication Foundation (WCF) to get data. Once it gets the data it stores them into an XML file.
The WCF use...
I've been working with the xml.linq classes in .net recently. But may need to use a linux friendly language for an upcoming project.
The things I like the most are
Xdocument, being able to load from a
file or parse from a string
XElement, quickly creating a custom
structure for page specific data
Traversing Children, Parents,
Sib...
I created a batch script that calls a T-SQL file and output it to text file. The T-SQL file contains select statement of a table to get the information of column with XML as datatype. The file will then be sent with either contents as body of email or as an attachment. However, when I open the text file, I see a long list of information ...
I am currently working on program that must read data from a XML stream that some time may contains '&' symbols
i.e :
<XMLRoot>
<Element>
<Node>
This is a dummy data&more!
</Node>
</Element>
</XMLRoot>
When I parse this text I get an error message telling me 'reference to undeclare entity'.
Is the...
I have a client-side script written in jQuery that is sending text/xml data to the server, but I can't figure out how to parse the request since the data is not a query string variable. The jQuery looks like this:
jQuery.ajax({
url: "test.php",
type: "POST",
processData: false,
contentType: "text/xml",
data: xmlDoc,
...