Hello,
I know it is probably a question against XML philosophy but still is it possible to define schemata for XML like this:
<Root>
<arbitrary-name-of-node>
<Name></Name>
<Position></Position>
<!-- ... -->
</arbitrary-name-of-node>
<arbitrary-name-of-node>
<Name></Name>
<Position></Position>
<!-- ... -->
</...
I'm looking to retrieve an XML document from a private API, then parse it into a table view.
I've looked through a few articles but I can't find anything that has helped me fully.
Does anyone have any articles, tutorials, examples, etc that can help me out?
Thanks in advance!
...
I have an XML file that needs parsing in PHP. I am currenlty using simplexml_load_file to load the file like so:
$xml = simplexml_load_file('Project.xml');
Inside that XML file lies a structure like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<name>Project 1</name>
<features>
<feature>Feature 1</feature>
<fea...
I want to create an XML file through c# and need to read and write on it.
The data I need to store are just strings and integers.
...
Hello,
I've followed the tutorial from here: Twitter Client Tutorial to make a little twitter app. Now I need to find out how to parse the XML twitter gives you when you make a request. I've looked at tons of tutorials on phrasing xml on the iPhone but none have made much sense because Im still new to cocoa. Twitter stores the text of t...
I'd like to use embedded resources in my XSLT file, but while invoking 'document(...)' C# complains that "Error during loading document ..."
I'd like to use defined resources in XSLT file and get them by this: "document('')//my:resources/"...
How can i do that??
ex xsl:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version=...
I need to create a reusable UI component that accepts a number of parameters (e.g. an image URL and some label text), similar to how JSP tags can accept parameters. The Pivot docs for the "wtkx:include" tag say:
The tag allows a WTKX file to embed content defined in an external WTKX file as if it was defined in the source file itsel...
I'm currently working on a data export feature for a survey application. We are using SQL2k8. We store data in a normalized format: QuestionId, RespondentId, Answer. We have a couple other tables that define what the question text is for the QuestionId and demographics for the RespondentId...
Currently I'm using some dynamic SQL to g...
Hi, I have this XML code which generates a button, a textview and another button, How do I go about getting the button to appear in far left, the textview in the center and the last button on the far right?
< ?xml version="1.0" encoding="utf-8"?>
< LinearLayout android:id="@+id/LinearLayout01"
android:layout_width="fil...
Currently I'm working on a case where we don't want to change to much on a c#/wpf program, but like to add a feature. Currently we allow certain users to add sql queries to a database to retrieve customer data, hereby a custom connection string/ provider name must be specified. With this information it's possible to create the connection...
I have a simple web service that will have one method: DoTransactions(xlm)
Now the reason that i am using XML as a parameter is due to the fact that the parameters will often change. So for example it could be:
<payload>
<userId>1234</userid>
<partnerId>ptn654</partnerId>
</payload>
OR
<payload>
<partnerId>ptn654</partnerId>
<i...
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("loader.swf", "flash-banner", "920", "320", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
After loading loader.swf I'm getting this error Error #...
I have a project where I'm loading relative image Uri's from an xml file.
I'm loading the image like this:
if (child.Name == "photo" &&
child.Attributes["href"] != null &&
File.Exists(child.Attributes["href"].Value))
{
Image image = new Image();
image.Source = new BitmapImage(new Uri(child.Attributes["href"].Value, UriKi...
Hey,
The question is pretty simple, but i'm not the big AJAX/JS coder, so I have no clue if it's possible.
Is there any way that I can check whether or not an alert() was executed on a remote site? Like if I inputted an alert("Welcome to this site"); through a get variable, is there any way to check if it that alert() was actually exec...
Vim's syntax highlighting for XML/XSL is great, except it turns off all syntax highlighting in CDATA regions. Is there a way to turn on syntax highlighting on in CDATA regions?
At work, we have a lot of XSL code embedded within other XML documents. It would be great if I could get all of the goodness of XML editing for the embedded XSL ...
What path would you took to parse a large XML file (2MB - 20 MB or more), that does not have a schema (I cannot infer one with XSD.exe because the file structure is odd, check the snippet below)?
Options
1) XML Deserialization (but as said, I don't have a schema and XSD tool complains about the file contents),
2) Linq to XML,
3) loadin...
I have this file format from 602 form filler. Unfortunately 602 sotfware no longer offer an SDK to their product.
I've uploaded the file here : http://cid-d53719d869fb8243.skydrive.live.com/self.aspx/Public/31602.zfo
I can't figure out how convert the file from zfo to .fo. Honestly I don't even know if the file is zipped or encoded, s...
I'm attempting to remove Component elements from the XML below that have File children with the extension "config." I've managed to do this part, but I also need to remove the matching ComponentRef elements that have the same "Id" values as these Components.
<Fragment>
<DirectoryRef Id="MyWebsite">
<Component Id="Comp1">
<Fi...
I'm planning an XML web service that takes an XML request and returns an XML response over HTTP. It's not SOAP, and it's not pure REST either - I think it might be best described as a POX (Plain Old XML) API. (More details towards the end of this post, if you're interested, but I'm trying to keep my main question general.)
My experien...
Given the following XML structure:
<courses>
<course>
<title>foo</title>
<description>bar</description>
</course>
...
</courses>
How could I create an array of dictionaries such that each dictionary contains all the element/value pairs within a course?
What I have right now generates an array whose elements contain a si...