I'm in the process of creating a blog for somebody. They want to pull in a lot of data and integrate it quite tightly into the design, so standard widgets are a no-no. That's been fine until now.
They have a public access Google Calendar with various events on it and I want to grab the next 5 events (from "now" onwards) and display the...
Hey all,
I'm deserialising an XML file which comes from a webservice of one of our clients.
Problem is, after creating the class with xsd.exe I deserialise the file and get the usual "There is an error in XML document (2, 2)." visual studio error. This, I presume is line 2, which points to the namespace declarations:
Top of XML file:...
Is there a way to use the xpointer() scheme with JAXP? The Xcerces FAQ states that only element() is supported (http://xerces.apache.org/xerces2-j/faq-xinclude.html). But i need to resolve those XIncludes because i have to deal with "legacy" documents.
...
At first glance, I thought using xml data in javascript would be as simple as finding an xml-to-json library and turning my xml into a javascript object tree.
Now, however, I'm realizing that it's possible to create structures in xml that don't map directly to json.
Specifically, this:
<parentNode>
<fooNode>data1</fooNode>
<ba...
I'm new to jQuery and would like to parse an xml document.
I'm able to parse regular XML with the default namespaces but with xml such as:
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
<s:Schema id="Ro...
Hi,
Can someone help me read attribute ows_AZPersonnummer with asp.net using c# from this xml structure
<listitems
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema"
xmlns="http://schemas.microsoft.com/s...
Hello, I am trying to get titles of xml files from a folder call "bugs".
My code:
public virtual List<IBug> FillBugs()
{
string folder = xmlStorageLocation + "bugs" + Path.DirectorySeparatorChar;
List<IBug> bugs = new List<IBug>();
foreach (string file in Directory.GetFiles(folder, "*.xml", SearchOpti...
Hello.
I have a recusive-method that creates a unordered list from a XML document. To check which node I am positioned on I use the querystring to match the URL in the XML document.
I need to add the class 'current' on the parent node if I am positioned on its child node.
Like this:
MenuItem 1
MenuItem 2 [class current]
...
I am working on a small project that is receiving XML data in string form from a long running application. I am trying to load this string data into an XDocument (System.Xml.Linq.XDocument), and then from there do some XML Magic and create an xlsx file for a report on the data.
On occasion, I receive the data that has invalid XML charac...
So far, this is the story of a failure, and any advice is welcome. I tried the following:
XMLStreamReader to Document using JAXP with Saxon
The code:
JSONObject obj = new JSONObject("{\"alice\":{\"bob\": \"a\"}}");
AbstractXMLStreamReader reader = new MappedXMLStreamReader(obj);
StAXSource source = new StAXSource(reader);
Document do...
Hi experts,
I am using the MSXML4.0 parser in VB6. I have an XML file that is browsed and selected by the user. The XML contains lot of tags.I am intersted in mining out the data that is contained in the child nodes of a tag named leadmeasurements. The lead measurements tag will also contain a lot of child nodes... I do not know how to ...
I'm wondering whether it brings advantages or disadvantages when using a XML document for the content of a web page and XSLT to manage the display part and not using plain HTML.
The first condition in my eyes is browser support for XML and XSLT. But as far as I know no modern browser has a problem with it. (Correct me if I'm wrong.)
Bu...
It seems to me that the XML manipulation functions in ColdFusion 8 are not as mature as those for manipulating arrays and structures. Do you have any suggestions for additional functions/tags which make it more straightforward to manipulate a parsed XML document? (I've come across XML2Struct but as I'm going to write the manipulated XM...
is there some way to convert json to xml in PHP? I know that xml to json is very much possible.
...
Hello all!
I have the following case:
All boats have a boat type like shark , yatch and so on. I need to register which type of boat name and also how many feet the boat is, but this is where the problem arises. If the user types in a shark I need to validate that its between 15-30 feet, if he type in a yatch it needs to be between 30-...
I'd like to take data from some XML files and transform them into a new XML document. However, I do not want the definition of a namespace in the XSLT to occur in the result document.
In other words:
source:
<Namespace:Root xmlns:Namespace="http://www.something.com">
stylesheet:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:...
I have an XML schema having an element with the same name as an attribute:
...
<xs:sequence>
<xs:element name="subscriberId" type="String"/>
...
</xs:element>
</xs:sequence>
<xs:attribute name="subscriberId" type="String" use="required"/>
...
Axis 1.4 WSDL2Java generates two equal parameters in the constructor of the class...
What, if any, is the performance overhead of using XML as the interface between a Php application (A) and a MySQL database via another Php application (B), rather than direct querying from Php application (A) to the database?
How much will this change between application (A) and the database being on the same server, and being on separa...
Hey,
I'm trying to make some simple XML with Java and org.w3c.dom, but I got stuck when I try to append a child to a child, something like this:
<root>
<child>
<childOfTheChild>Some text</childOfTheChild>
</child>
</root>
I tried quite some variations of this (like first appending the child and than creating child...
HI all,
i am a newbie in iphone app development....
i have tried on XML parsing and done it pretty well....
but now am facing problem in generating XML for my view....
let`s say i have a view which has a text view with some content in it...
can i generate an XML for it....
does iPhone SDK has some API to perform it ??
Thank for any sugg...