Hello,
I can not remove nodes while I iterate them thats ok.´
I have a List with Guid`s in it.
I want to delete all XElements in that xml file where the XElement has a Guid of that List
thats my xml file:
<?xml version="1.0" encoding="utf-8"?>
<Departments>
<Department Id="2d55ba71-a2ab-44a1-a697-f57bbd238c7f" />
<Department Id=...
I want to append the values of some XML tags, and then append again the result. But I'm having some trouble appending the results, so I only have one final result of appending.
Imagine you have this:
<nodeA>
<nodeB>
<item>1</item>
<item>2</item>
<yesno>blah</yesno>
</nodeB>
<nodeC>
<thing>A</thing>
</nodeC>
</nodeA>
<nodeA>
<nodeB...
I have created application for testing Linq queries (time) which I using in game project. And now, one query take 1.2s on Windows Application, but when I'm trying to use that same query on windows game (XNA 4.0) it is really, really, really slow and i don't know why.
I cannot use SQLite database ( windows game is only for testing purpo...
I am developing a SSIS package to add data from an XML file to an existing SQL Server table. I have completed several similar projects, but on this XML file I am getting the error from the Data Flow tab between the XML Task and Data Flow Task:
Error: 0xC002F304 at XML Task, XML Task: An error occurred with the following error message: ...
I'm trying to produce the following XML by means of DOM/PHP5:
<?xml version="1.0"?>
<root xmlns:p="myNS">
<p:x>test</p:x>
</root>
This is what I'm doing:
$xml = new DOMDocument('1.0');
$root = $xml->createElementNS('myNS', 'root');
$xml->appendChild($root);
$x = $xml->createElementNS('myNS', 'x', 'test');
$root->appendChild($x);
ec...
I am reading an rss feed and I am binding it to a repeater. I would like to select the 3 most recent posts. in my XPathExpression I use AddSort The data are sorted just fine but when I bind to the repeater the sort is lost.
That is my first issue. I am using xpath expression [position()<=3] to limit to 3 items. This, however, occurs pri...
For those that like to resolve problems, here's a big one :P
Well, I am developing a system using web services, where I send and receive XML as parameter (not normal parameters as Int, String, bool, etc).
After I receive a XML, I validate the XML with the XSD and also I convert that to an object.. after the process I also convert that ...
Hello,
is there an efficient way to determine the estimated filesize of an xml stream without the need to save it? Perhaps calculate the filesize of a soap response. The available tools are only xml technologie.
One try was to serialize the stream and count the string-length of the serialized output. But this takes really long for huge...
I am having a problem validating some XML input data on my WebService. I am including everything you should need to reproduce the error, so hopefully someone will be able to help me. Thank you in advance!
I have some hacker who is sending me some invalid XML to my public interface and instead of being detected in my XSD validation, it...
i have an xlst file that is supposed to parse an xml file and generate word document. But when i parse it in visual studio it produces another xml because its header is:
<xsl:output method="xml" omit-xml-declaration="no" version="1.0" encoding="utf-8" standalone="yes" />
<xsl:template match="/">
<xsl:processing-instruction name="mso...
Basically, what I'm doing right now is running an XSLT, then opening the result in Visual Studio and doing a find and replace for one word - for this example, I want to change all instances of "bar" to "myBar". All instances of "bar" may be assumed to be in text elements like so:
<someElement>bar.whatever</someElement>
This would be t...
Like the title says, I have two different objects that implement the same interface and I want to add them to the same collection.
My XML looks like:
<root>
<item-list>
<item>
<type1>
<id>1</id>
</type1>
</item>
<item>
<type2>
<id>2</id>
<other>1</other>
...
What is the advantage of using these different frameworks (TouchXML, KissXML, etc) as compare to NSXMLParser?
Update: I think there are some other questions which had indirectly asked the same question, so i believe it will be repeat. So i am posting the urls of those questions here. Though i asked the question with some other things in...
I would like to serialize an object to XML inside Android.
Any libs suggested?
PS: Already tried XStream, but it doesn't serialize enums correctly with Android. The issue is here: http://stackoverflow.com/questions/3533894/serialization-problem-with-enums-at-android
...
I have an XML document that has an XML node named "Description"
The Description node contains text like "This is a long description."
When the XML file is loaded and displays in a browser, I need just the word "long" to be italicized. I understand that I could use XSLT to style the entire Description node, but how do I use CSS styling ...
anyone knows an RSS parser wich displays images as well? I have looked a lot bu t I have not found any. I would be glad if you can find an RSS parser which also displays imageS?
Regards
...
Question
What generic and extensible solutions exist to convert a data file to fixed-width file?
The data file format can be CSV, XML, or plain text, as exported by JasperReports.
Background
The fields are listed as follows:
Field # Field Name Format Type Size Required
1 Customer RJ/ZF N 1 Y
2 Accou...
i hope this is a simple question!
in the following code all is well if the element exists but if not it errors out.
XDocument xmldoc = new XDocument();
xmldoc = XDocument.Parse(response);
XElement errorNode = xmldoc.Root.Element("TransactionErrorCode").Element("Code");
How can i test to see if it exists ...
Hi
OpenFient give a sample of how I can get the high scores data using their API. They have a sample here: https://api.openfeint.com/api/games/116834/leaderboards/371803/highscores.xml
If they were my games high scores, how would I put that into a table? Or displayable format in my game? Never done anything like this.
...
I've been using SRGS grammars with SAPI 5.4 to define command and control grammars. Now I'd like to switch to text grammars so they'd be compatible with SAPI 5.1 (and possibly even SAPI 4?).
I found an example of a SAPI 5.4 compatible text grammar here
I'd like to load that grammar from it's XML file at runtime as opposed to using the ...