So Flex provides great APIs for user-manipulation of its data-fed controls, but, for the life of me, I can't figure out how to get the data back out of the control once the user is done playing with it. Specifically, I've enabled the dragMove controls on a Tree component, but I can't figure out how to get the user-initiated changes back...
I'm working with a 20 gig XML file that I would like to import into a SQL database (preferably MySQL, since that is what I am familiar with). This seems like it would be a common task, but after Googling around a bit I haven't been able to figure out how to do it. What is the best way to do this?
I know this ability is built into MySQL...
Using the Magento Ecommerce system, is is possible to remove an item from the Admin Panel Navigation menu? More generally, is there a way to use the config override system to remove existing elements from a configuration?
I know I can add to the navigation with an override that looks something like this
...
Whenever I insert an element into my xml document, the system adds an xmlns="" attribute to it. How do i get rid of it? Why is it there? Im using very simple linqtoxml.
I've got a simple XML file (Note there is no Xml declaration line and it contains a namespace):
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/deve...
I am using NiceEdit to format text in text areas, it displays a toolbar over the specified text area, I created a test page, its working, I Response.Write the content of the text area after being formatted, and its okay, I created a break point to see whats being read, it was all fine.
Now I moved to the real page where I should impleme...
I'm having a problem getting the "xmlns" to appear first in the root attribute list.
Im getting this:
<myroot
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.someurl.com/ns/myroot http://www.someurl.com/xml/schemas/myschema.xsd"
xmlns="http://www.someurl.com/ns/myroot">...
This the situation: I have one webservice without SSL, which provides two pages for the other web application. When the user submits these pages, an XML file with private information is sent to the webservice.
How can I provide the necessary privacy protection on the XML file? Is the one certificate good enough to give the appropriate s...
What is the importance of DTD and how it affects the display of the web page page at runtime
...
I'm transforming an XML document by using Xerces-C 2.5 and Xalan-C 1.8. The XSL contains a "document" function, that references a file on the network. Unfortunately I cannot access this file by HTTP. I've only got the UNC path.
Xerces refuses to parse the referenced document, because WinSockNetAccessor::makeNew is called in Xerces as th...
What's the ideal way of generating XML without creating and saving a file?
I'm thinking of using an ASP.NET page with code behind to generate the markup as XML.
Is this possible? Or would you have an alternative way?
I have a flash component that reads an XML file and I need to dynamically generate this file. I don't have write permis...
I'm trying to generate XML and I encounter this exception:
XmlTextWriter xmlWriter =
new XmlTextWriter(Response.OutputStream, Encoding.UTF8);
xmlWriter.WriteStartDocument();
xmlWriter.WriteStartElement("userInfo");
It gives me an exception:
WriteStartDocument needs to be the first call.
But as you can see, I did call the Write...
When processing XML by means of standard DOM, attribute order is not guaranteed after you serialize back. At last that is what I just realized when using standard java XML Transform API to serialize the output.
However I do need to keep an order. I would like to know if there is any posibility on Java to keep the original order of attri...
I've got a DataGridView using a DataTable as it's DataSource. I'm allowing the user to alter the visibility, order (and width though that's not relevant to this question) of the DataGridView columns, but not the underlying DataTable. This means I don't have to recreate the DataTable every time the user makes a change to the view.
The us...
I'm trying to extract the coverage data from XML file generated by NCover using C#. The XML file looks something like this:
<namespace n="namespace" t="11" fp="11" u="0" c="100">
<class n="foo" t="11" fp="11" u="0" c="100">
<method n="foo1" t="1" fp="1" u="0" c="100" l="16" />
<method n="foo2" t="1" fp="1" u="0" c="100" l="...
All of the examples I can find online about this involve simply adding content to an XML file at the document root, but I really need to do it deeper than that.
My XML file is simple, I have:
<?xml v1 etc>
<channel>
<screenshots>
<item>
<title>Image Title</title>
<link>www.link.com/image.jpg</link>
</item>
</screenshots>
</channel>...
Is it legal to use no targetNamespace attribute or an empty one in an Xml schema?
If so then what does it mean, are we "adding" something to the "empty namespace" (which always exists) or creating an "anonymous namespace" which is not related to other schemas?
How would an instance xml document look like, do elements need to be explici...
Back in the days of 2.0 serialization I could create a serialized version of an object that would result in the following example:
<transactionMessage messageDate="1/1/2001 11:00PM" messageId="abc123">
<transaction property1="Value" property2="value2" />
</transactionMessage>
I would do this with the Serializable() attribute and t...
I have created an XSLT for an XML and its node value is displayed as text.
Now I want to save the original XML file as a new file with the changed values. The values are entered by user in xml generated html textboxes.
I am using windows mobile(PDA) C# .net compact framework.
Loading xslt applied xml file into webbrowser control.
...
I've got a large xml document in a string. What's the best way to determine if the xml is well formed?
...
Hey Guys! I found you all very helpful.
I am using MySql 5.1 and Java. I have a big XML file and need to fill the data of XML file to MySql table.
For MySQL 5.1 there is a procedure (Using XML in MySQL 5.1 and 6.0), but when I try it in my database, it shows no error but on the same side it has no effect. Can anybody help me?
It will ...