I have worked on several applications that saved XML data into a database. To date all of them simply overwrote the current XML contents with the new XML contents.
I would like to save the changes to the XML to the database but not overwrite what is currently in the DB.
Short of just creating new rows for changes and leaving the old...
I've previously processed XSLT to output single HTML files that were supposed to be viewed in a browser.
Now I was hoping if someone could outline would it be possible to use XML data and XSLT to create separate image files auto magically?
...
I've noticed that Magento stores MySQL connection details in an XML file which isn't secured above the docroot. This seems.... well dangerous.
XML seems like a handy way to store config data, except for one thing, typing in http://www.domain.com.au/library/config.xml will show the world your private details!
I went ahead and used an XM...
Where are the schemas (DTD or XML schema) for the XML files used on Android like AndroidManifest.xml or the layouts?
...
I have a PHP script that creates an xml file from the db. I would like to have the script create the xml data and immediately make a .gzip file available for download. Can you please give me some ideas?
Thanks!
...
I have to load an Xml document and display in a tree view in a winform. here is a piece of code. Please tell whats the error.
private void AddingNodesToTree(ref XmlNode xnode, ref TreeNode tnode)
{
TreeNode subNode = treeNodes.Add(xnode.Name);
subNode.Tag = xnode;
foreach (XmlNode subElement in xnode.ChildNodes)
{
...
Hello, this is in reference to a question asked earlier. Here is the complete code and it's giving me an error:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Xml;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.IO;
...
Hi,
I am looking for a FREE XML Editor/ Validator that I can distribute as part of my product.
Does anyone familiar with such tool ?
Thanks,
Munish
...
In C#, is there a way to work out an XmlNode's position in the original XML 'text', when the document is loaded from a file or string? I want to be able to report problems with an XML document that I am processing.
e.g:
"Error in foo.xml - value of attribute 'pet' must be a species of fluffy mammal, at line 27, column 13 [snippet of o...
I've managed to get what I want when mapping with inheritance like this:
ThisClassShouldntExist
freeFlowMsg
errorMsg
BaseForm extends ThisClassShouldntExist
function
subFunction
SpecificForm extends BaseForm
address
My binding.xml:
<binding>
<mapping class="com.struts.form.ThisClassShouldntExist" abstract="true">
<...
The .Net framework now has (at least) four different methods of reading an Xml string. I've used each of XmlDocument, XmlReader, XPath and XElement, but which is the most efficient to use when coding or during execution? Is each designed for a different task, what are the pros and cons?
Update:
Using a XmlReader appears to be the quic...
I have to encode the 5 XML reserved chars (& < > " and ') properly as follows:
"&", "&" "<", "<" ">", ">"
"\"", """ "\'", "'"
I can do them one by one, but is it possible in regexp something like ("[&|<|>|\"|\']", "&|<"); ... etc so that it will not be executed in 5 operations one after another but alltogether s...
To mitigate some of the headache of working with XML I've been experimenting with PXSL, an abbreviated syntax for any XML document with advanced macro capabilities. However, since it's so new, I haven't been able to find any text editors that know how to parse it for syntax highlighting.
Do you know of any editors or plug-ins that would...
I am encountering a strange issue when saving documents in XML Spreadsheet 2003 format using Excel 2007.
It seems to randomly change numeric values such as "0.58" to "0.57999999999999996".
What's really odd is that you CANNOT see this issue when you are in Excel. You can only see this when viewing the XML data directly from a text edi...
I'm learning LINQ to XML and need to find the existence of an element with a particular attribute. At the moment I'm using:
XElement groupCollectionXml = XElement.Parse(groupCollection.Xml);
IEnumerable<XElement> groupFind =
from vw in groupCollectionXml.Elements("Group")
where (string) vw.Attribute("Name") == groupName
sele...
Which PHP RPC (XML or JSON) library have you successfully used?
I have done some research but haven't been able to find one library that stands out from the others.
I've found the following:
XML-RPC for PHP
XML_RPC (PEAR)
JSON-RPC PHP
And a few others that either don't look very active or mature.
...
Lets say I have an XML format similar to the following:
<Random>
<...Some arbitrary amount of nesting here...>
<Random2>
<Definition>
<Name>Ape</Name>
<Description>A mammal</Description>
</Definition>
</Random2>
<Random2>
<Definition>
<Name>Ape</Name>
<Description>A mammal...
Can someone point me to a good tutorial explaining the Entity Framework using an XML file instead of a database?
I have seen some good tutorials with SQL databases, but I can't make the leap to an XML file.
Thanks!
...
At my work as developer I do a lot of XML writing and parsing using C#. I have read very little about XAML, XSLT and XML schemas at Wikipedia and I don't see if they would make my XML-driven coding easier. Should I study any of these technologies? Which of them? Any other?
...
This might seem like a simple question.
But I have been looking for an XML parser to use in one of my applications that is running on Linux.
I am using Expat and have parsed my XML file by reading one in. However, the output is the same as the input.
This is my file I am reading in:
<?xml version="1.0" encoding="utf-8"?>
<books>
...