hi,
i have an XML file that looks like this:
<root>
<data name="UserName">User Name</data>
<data name="Password">Password</data>
<data name="LogIn">Log In</data>
<data name="InvalidPassword">Invalid password</data>
<data name="InvalidUserName">Invalid username</data>
</root>
how do i sort the file itself?
i want to sort by '...
I have an XML file in the following format:
<doc>
<id name="X">
<type name="A">
<min val="100" id="80"/>
<max val="200" id="90"/>
</type>
<type name="B">
<min val="100" id="20"/>
<max val="20" id="90"/>
</type>
</id>
<type...>
</type>
</doc>
I would like to parse this document and build a hash table
{X: ...
I have written a VBScript which is supposed to tranverse all nodes in an XML file, irrespective of the depth of the tree. This it does well except that the node names for the those nodes which are 2 or more levels deep are not displayed. I need the node names as well as the values so that I have name/value pairs for further processing by...
I asked a similar question last week but did not get an answer that really nailed it. I suspect the question needs to be stated more plainly so here goes:
Given this XML:
<?xml version="1.0" encoding="utf-8"?>
<everyone>
<guest>
<name>Joseph Needham</name>
<age>53</age>
</guest>
<guest>
<name>Lu Gwei-djen</name>
<...
Hello there,
I have some word templates(dot/dotx) files that contain xml tags along with plain text.
At run time, I need to replace the xml tags with their respective mail merge fields.
So, need to parse the document for these xml tags and replace them with merge fields.
I was using Regex to find and replace these xml tags. But I was s...
I have a small script, where on change I am getting the ID of a select, I then want to take that ID and send it via "data:" through the jQuery AJAX call. I am using XML for my data and I am sending this ID for it only returns results with that specific ID?
I understand how to do this with PHP, but never worked with XML and jQuery befor...
I'm cleaning up some gross XML, and so I've had pretty_print = True set in the call to etree.tostring() on my lxml output of the XSL transform. However, that left me with a few junk whitespace nodes from the original input, so I added
<xsl:strip-space elements="*"/>
...but that completely collapses all whitespace, ignoring pretty prin...
I have the following XML (simplified example) which should have a parent/child relationship between two ComboBox's. The parent binds correctly but the child does not bind to the parents SelectedItem.
When I set xmlns against the foobar XML and remove all namespace references it works as expected. Also if I set ItemsSource="{Binding XPat...
How do I read get the full path of a static XML file I added to my C# WCF project?
...
How do I access an XML file I added to /App_Data folder in my WCF Service?
...
All,
I'm working on a Flash application that's supposed to send XML data to a Java Servlet.
I'm responsible for the Flash app; another team is responsible for the Java Servlet.
The problem we're having is that I'm familiar with Flash but not Java and Servlets; the other team is expert in Java and Servlets, but unfamiliar with Flash.
...
I am new to Stack Overflow and to XSLT. I have a problem with removing duplicate entries from the output, based on some child element conditions.
Here is an example of XML that I have:
<partyorders>
<order>
<day>12</day>
<month>05</month>
<year>2000</year>
<amount>5000.00</amount>
...
I am writing a business app in Flex that uses web services to communicate with a middle tier. The web services accept and return messages in XML format. In many cases, I need to be able to allow the user to type something like the following into a field in the app, which in turn will be added as an element in an XML payload bound for a...
Hello there,
I have some word templates(dot/dotx) files that contain xml tags along with plain text.
At run time, I need to replace the xml tags with their respective mail merge fields.
So, need to parse the document for these xml tags and replace them with merge fields.
I was using Regex to find and replace these xml tags. But I was s...
I am trying out the Simple XML serializer. I am more interested in deserialization from XML->Java. Here is my code as a unit test:
import java.io.StringReader;
import java.io.StringWriter;
import junit.framework.TestCase;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.Seri...
I have a method which returns XML in C#( type: XmlElement). How do I return an Empty XML? Can't use string.Empty obviously.
...
Using WS_FTP Professional, I have a backup process that runs every night.
WS_FTP basically sets up the process to FTP to a remote server through windows scheduler.
Specifically, It sends an XML file that is approximately 2.5 megs to a server for download.
I check that the XML file is well-formed before the FTP and it always is. The p...
We serialize/deserialize XML using XStream... and just got an OutOfMemory exception.
Firstly I don't understand why we're getting the error as we have 500MB allocated to the server.
Question is - what changes should we make to stay out of trouble? We want to ensure this implementation scales.
Currently we have ~60K objects, ea...
How do I get bytes out of a PNG file using C#, (Reason for this:I need to pass the PNG as a string in an XML file.)
...
xml:
<entry>
<link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/xy/albumid/531885671007533108" />
<link rel="alternate" type="text/html" href="http://picasaweb.google.com/xy/Cooking" />
<link rel="self" type="application/atom+xml" href="http://picasa...