Hi
Wonder if anyone can help me out with a little cron issue i am experience
The problem is that the load can spike up to 5, and the CPU usage can jump to 40%, on a dual core 'Xeon L5410 @ 2.33GHz' with 356Mb RAM, and I'm not sure where I should be tweaking the code and which way to prevent that. code sample below
//Note $productFi...
I need this XML,
<list columns="3">
<item>martin</item>
<item>donald</item>
<item>whistler</item>
<item>mother</item>
<item>carl</item>
<item>liz</item>
<item>cosmo</item>
</list>
to look like this:
<table>
<tr>
<td>martin</td>
<td>donald</td>
<td>whistler</td>
</tr>
<tr>
<td>mother</td>
<td>ca...
<xml>
<data>
<Attribute name='forms'>
<List>
<String>xform</String>
<String>yform</String>
</List>
</Attribute>
</data>
</xml>
How would I set my xslt to get all the values in the List. So I would like to output both values in 1 line seperated by |. For ex.
xform|yform
...
<data>
<Attributes>
<Attribute name='somethingelse' value='blah'/>
<Attribute name='forms'>
<List>
<String>xform</String>
<String>yform</String>
</List>
</Attribute>
</Attributes>
</data>
I am already parsing the xslt at Attributes level, so I can get the value blah by just doing <xsl:value-of select="Attribute[...
Hi Everyone,
I am trying to parse some XML i have retrieved via e4x in an HTTPService. The loop works and for each episode in the list it goes through the loop. However i get the following error when it is trying to append to an XMLList.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
I am tryin...
What is the best way to work with/consume custom XML web services in ASP.NET? The web service in question was developed quite a few years ago. It works by POST'ing the XML to a specific web page and then responding with more XML. Run of the mill design, but it doesn't follow any SOAP standards. It follows a strict schema though.
Wha...
In manipulating data in Flash, which data format gives faster speeds in terms of searching and manipulation, XML or nested associative arrays? Meaning I currently send data in strings into the Flash client (I don't want to load an XML file) but I'm not sure if formatting the data into an XML file or into nested associative arrays is bett...
Hi!
We have a project in which access the DB layer (MS SQL) with LINQ. Can we now change our DB layer to XML file and still access it with the same LINQ?
We want add possibility to store data in a single XML file or a set of XML files.
Current LINQ to SQL code looks like:
result = (from e in db.Organizations
where e.Id == id...
Hi all,
I have declared one variable in xslt, assigned some value to it but while retrieving the value I am facing some problem.
<xslt:variable name="Msg">
Hello for more info <a href="http://someurl/">click me.</a>
</xslt:variable>
while retrieving the value the content is coming a...
I have a jqgrid that's functionning very well.
I was wondering is it possible to catch server sent errors ? how Is it done ?
...
Hi, reading the documentation for java org.w3c.dom.ls it seems as a Element only can be serialized to a String with the java native string encoding, UTF-16. I need however to create a UTF-8 string, escaped or what not, I understand that it still will be a UTF-16 String. Anyone has an idea to get around this?
I need the string to pass in ...
I have this XML:
<?xml version="1.0" encoding="utf-8" ?>
<IMPORT mode="FULL">
....
</IMPORT>
I'm trying to convert it with the following XSLT stylesheet:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:element name="im...
I'm creating an application with a help system based on XML. I need to
know how to populate TreeView and ListView controls with XML data
(specification below).
TreeView: <root> and <topic> tags.
ListView: <document> tag (with group and icon dependent on if it's a
web link or local file link, but I can do it).
Can somebody help?
...
I'm producing XML right from PL/SQL in Oracle.
What is the preferred way of ensuring that outputted strings are XML-conformant, with regards to special characters and character encoding ?
Most of the XML file is static, we only need to output data for a few fields.
Example of what I consider bad practice:
DECLARE @s AS NVARCHAR(100...
HI!
My XML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited by XMLSpy® -->
<Dokument>
<Skupina id="3">
<Naziv_skupine>RAZSTAVNI PROSTOR</Naziv_skupine>
<Dvorana id="295">
<Naziv_dvorane>DVORANA C</Naziv_dvorane>
<Postavka id="41">
<Artikel>1105</Artikel>
</Postavka>
...
I have a dynamic linked library written in C# 3.0. This library has a small set of public classes that I want to make XML representations for. The idea is to allow "saving/loading" of objects from disc using XML as the representation. I would also like to allow users of the class library to pass these XML representations to certain funct...
How to create XML/XSD from SQL table with multiple tables
what I want to do is create an XML schema from a database (or database schema)
This post has some interesting code
Particularly
DataSet results = new DataSet();
SqlCommand command = new SqlCommand("SELECT * FROM table", new SqlConnection(connectionString));
SqlDataAdapter sq...
I have some very similar XML structures which are in fact quite distinct, but it appears that XmlSerializer.Deserialize is very "forgiving" and will go out of its way to take XML and deserialize out into a strongly typed object I created from the source XSDs. Is there any way to make it more strict or do some type of deeper validation?
...
I have a form that I am using innerHTML to view the contents of one div in another div. When the user clicks the button, they should be able to view their template. However I am dragging a tree from an XML file and even though the code runs, I get undefined as an output. Am a newbie at this, so any help would be much appreciated!
Any th...
I am trying to remove the attribute xmlns="http://webdev2003.test.com" from the following xml using xsl/xslt, a requirement of the XML Task in SSIS. What is a proper methodology considering a large file size. ~40mb
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfAccount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="h...