In your xml wisdom, have you a idea on how to define the type for “bDead” to be? (type=”xs:Boolean”)
<bDead>0
<xdn>state</xdn>
<xdv>alive</xdv>
</bDead>
Here’s the schema. Where/how would I specify the type and ranges for bdead? I don’t think that I can..
<xs:element name="bDead" >
<xs:complexType mixed="true">
<xs:sequence>
...
My iPhone application has a fair amount of data that it needs to run, which I would like to store in the bundle as archives, and unpickle the data when the application starts up. Can I create these archives (which include instances of custom classes) on a Mac OS X system, and read them from the iPhone app?
...
Good morning -
I'm interested in seeing an efficient way of parsing the values of an heirarchical text file (i.e., one that has a Title => Multiple Headings => Multiple Subheadings => Multiple Keys => Multiple Values) into a simple XML document. For the sake of simplicity, the answer would be written using:
Regex (preferrably in PHP)...
Hello all!
I need to implement a functionality where a user can upload an Excel file, that is, .xls file and i need to write a function that will read that file and then save the values in a table, compare them to values in another table and then print some kind of billing quotation.
From what I have read, it seems that the best way to...
Unfortunately the PHP DOM classes and functions are not very well documented and I am starting projects that are going to be very XML heavy. I do not have a solid grasp on the DOM functionality and have been making due with SimpleXML abd XMLWriter untill now, but I am running into some serious problems with their limitations.
Is there ...
I'm creating a What's New page for a program that will show the user what's new only for the updates not already installed.
For this I'm passing the program build date and version to an asp page that in turn will display the what's new text.
My initial idea was to use a xml file and filter the results based on the version I get from th...
Are there any tools that can transform C++ code to xml, or some other format that would be easier to parse?
It would be great if it would also have the option of turning xml back to C++ . I already know of doxygen's xml format ... maybe it's just me, but I don't find it particularly helpful.
...
I'm parsing a string of XML into an XDocument that looks like this (using XDocument.Parse)
<Root>
<Item>Here is "Some text"</Item>
</Root>
Then I manipulate the XML a bit, and I want to send it back out as a string, just like it came in
<Root>
<Item>Here is "Some text"</Item>
<NewItem>Another item</NewItem>
...
I've been exploring the Stack Overflow data dumps and thus far taking advantage of the friendly XML and “parsing” with regular expressions. My attempts with various Haskell XML libraries to find the first post in document-order by a particular user all ran into nasty thrashing.
TagSoup
import Control.Monad
import Text.HTML.TagSoup
use...
Hi all, I have an XML file which contains lists of stores, a simplified version is below. What I would like help with is some high-level ideas on the simplest ways to move this data into objects for storage in Core Data. I see suggestions around key-value pairs but as you can see in my example below, I have child elements with the same...
hi expert, i'm try for log10 calculation using mathml in xml as follow
<apply><log><cn>x</cn></log></apply>
for this i'm getting expected result, but now trying for antilog which is inverse of log, i'm not sure which tag have to be use, any i'm trying as follow
<apply><inverse><log><cn>x</cn></log></inverse></apply>
here i'm not ...
How can i retrieve categoryname from given xml file using php
<categories>
<category categoryid="1100" categoryname="Baby Clothing" categorylevel="1">
<category categoryid="1101" categoryname="Dresses" categorylevel="2">
</category>
<category categoryid="1102" categoryname="Trousers & Jeans" categorylevel="2">
</category>
<categor...
I am working on retrieving data in Xml format from SQL Server 05 using FOR XML
What is the best practice for nesting elements in my resulting Xml?
Currently I am doing this:
Select
(
Select
[Col1] As [Col1],
[Col2] As [Col2]
From [dbo].[NestedTable] As T1
Where T0.[Key] = T1.[Key]
...
hi all,
how can i add subItems into my listView with 3 columns?
it only adds items to the first column
//Read XML
private void button3_Click(object sender, EventArgs e)
{
System.Xml.XmlDocument loadDoc = new System.Xml.XmlDocument();
loadDoc.Load(Application.StartupPath + "\\Computers.xml");
foreach ...
Can I filter 2 different node types in E4X same as attributes but then on node type? I cannot find this anywhere:
Something like":
$.book_xml.pages.page.(node == 'front' && node =='back');
<pages>
<page>
<front></front>
<back></back>
</page>
<pages>
...
I have a function which generates xml for a list object:
public XDocument ToXML()
{
foreach (var row in this)
{
var xml = row.ToXml();
template.Root.Add(xml);
}
return template;
}
The template.ToString() reads: <RootElement xmlns="urn:testTools">
The xml reads: <Example><SubElement>testData</SubElement...
Here is the xml file
<glossary>
<alphabet id="A">
<term heading= "Anchor" definition="A mechanical device that prevents a vessel from moving"/>
<term heading= "Atlas" definition="A collection of maps in book form"/>
</alphabet>
<alphabet id="D">
<term heading= "Delay" definition="Time during which some action...
Hi,
I have an XML in the form
<root>
<image> C:/images/image1.jpg </image>
</root>
Now i need to use this path (C:/images/image1.jpg) in my XSL-FO in such a way that it looks like,
<fo:external-graphic src="C:/images/image1.jpg" />
How i can achieve that in my XSL-FO using the path from XML??
...
Doing a german site, and have a JS alert to say you havn't completed all the required fields.
So want to get the langage of the HTMLpage
Here's the HTML;
<html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">
...
</html>
This is my JS.... it seems to error and not alert at all with the lang bits...
How do it get the xml:la...
I need to output XML / ASX on an ASPX page.
The XML is generated from the code behind and will look like this.
I'm using string builder to create the XML / ASX.
(...)
sb.AppendLine("<asx version='3.0'>");
sb.AppendLine("<title> Spilliste </title>");
while (i < pdc.Count)
{
...