I would like to take a time stamp (e.g. 1263531246) and convert it to a string representation suitable for output to an XML file in an attribute field conforming to xs:dateTime. xs:dateTime expects something like:
2002-05-30T09:30:10-06:00
Ideally, I would use the form of output that includes offset from UTC (as above). In this projec...
In SQL Server it is easy to parse a vachar variable that contains a simple XML snippet constructed with attributes and load it into a temp table - see example below:
declare @UpdateXML VARCHAR(8000)
set @UpdateXML='<ArrayOfRecords>
<Record Field01="130" Field02="1700" Field03="C" />
<Record Field01="131" Field02="1701" Field03="C" ...
Hi
I wonder if somebody can help me flatten an XML file to CSV format. I have worked on this all day today, and although I've found some simple examples, my issue is slighlty different. Please see example below...
Example XML:
<data>
<val_A>1</val_A>
<val_A>2</val_A>
<val_B>3</val_B>
<val_B>4</val_B>
<val_C>
...
If my XML data is very complex, is there a way I can store this in DB?
...
Hi,
normally I would use JaxB, XMLBeans or Simple to convert a XML file to a Java Object.
In this case I can however only use Java5 and no external libraries (for several reasons).
What is the best way to do that? My XML input is very simple. What is the most flexible and elegant way to get the XML into a Java-Object (I don't really ne...
I'm trying to use this query to find the precise videos I want via XML, then I'm looking to parse the values with SimpleXML and insert them in the DOM via this method.
I was experiencing a strange problem earlier when pulling the value from:
<media:player url='http://www.youtube.com/watch?v=ikACkCpJ-js&amp;feature=youtube_gdata'/&...
I'm building my first AIR application after two years of building Flex applications with a SQL Server database, using ColdFusion CFCs and .NET as WebService interfaces.
I want to create an AIR application with static data and I'm trying to figure out the best way of doing this, and how to do this. I have several related pieces of data.
...
can anyone explain in detail(if possible with screen shorts) how to add subreport (one to many relation)
this being the xml data source
<addressbook>
<category name="home">
<person id="1">
<LASTNAME>Davolio</LASTNAME>
<FIRSTNAME>Nancy</FIRSTNAME>
<hobbies>
...
I have a supplied XSD. I do not know enough about XSD to begin modifying it.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Dataset">
<xs:compl...
I generated swf file from flex builder but not using AIR
i have a data.xml file but flex builder`s generated swf file cant read the data xml file
swf file and data.xml file are located into same directory
how can i solve file?
...
(Basically we want to import targets files at some places in the *.csproj file and otherwise check that the file follows our standards)
What is the best way of doing this? I am planning to use C# and XDocument (LINQ to XML) and manipulated the nodes. But is that the best way? Other alternates may be:
Find the XSD for csproj/msbuild an...
<things>
<fruit>apple</fruit>
<hardware>mouse</hardware>
...
</things>
Turn it into:
{'things':[{'fruit':'apple'}, {'hardware':'mouse'}]}
Is there an easy way to do this? Thanks.
...
Suppose in XSD we have an element 'answer' defined:
<xs:element name="answer" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:attribute name="name" use="required">
<xs:simpleType>
<xs:restriction base="answer"/>
</...
iPhone - Can we parse .plist(xml) file using NSXMLParser?
Thanks in advance.
Ruchir
...
We have an issue where we have an XML feed leaving our system and a client needs to be able to import this feed into their system but they require the XML file to be in a different format. For a number of reasons its not possible for either of us to alter our format. I was thinking then that it would make sense for us to build some kind ...
I`m parsing a Google Maps RSS with javascript and using the following code to get the point coordinates:
point_coords = items.getElementsByTagName('georss:point')
Unfortunately it works in FF but not in safari and chrome (still not tested in Opera and IE)
The XML looks like:
<item>
<guid isPermaLink="false">guidNo</guid>
<pu...
Scenario
I've got an application written in C# that needs to dump some data every minute to a database. Because its not me that has written the spec, I have been told to store the data as XML in the SQL Server database and NOT TO USE the "bulk upload" feature. Essentially I just wanted to have a single stored procedure that would take X...
Is there a way to specify which XML parser cxf uses? Either through the cfx.xml file or programmatically?
Our app has the Woodstox parser on its classpath, and cxf seems to be using that by default. However, the Woodstox implementation seems to truncate large Base64 encoded byte arrays in the SOAP packet.
Removing Woodstox from the c...
(Using the latest MVC 2 RC 2) I'm trying to sort some XML in LINQ (C#) by an element's attribute's value...
var sites = from s in xDoc.Element("sites").Elements("site")
orderby s.Attribute("name")
select s;
But when I pass this to my View I get the exception:
Exception Details: System.ArgumentException: At least one object must imple...
The javax.xml.transform package is not included in the Android SDK, so how to write a dom doc to a file?
...