Hi all,
We are communicating with a 3rd party service using via an XML file based on standards that this 3rd party developed. They give us an XML template for each "transaction" and we read it into a DataSet using System.Data.DataSet.ReadXML, set the proper values in the DataSet, and then write the XML back using System.Data.DataSet.Wr...
When I use an XML example file to generate an XSD, using both Visual Studio and Oxygen, it generates a file using tons of <xs:element ref="ELEMENTNAME" />, where elementname is an actual element name. Later in the file, it has an element <xs:element name="ELEMENTNAME" type="xs:string" /> where it defines what that element is. For example...
Hello,
which is a good Java API for working with XML (both DOM and SAX approaches)? Is JAXP a good choice, or is it deprecated? And, what good tutorial on the suggested API do you know?
Thanks.
...
I am receiving this XML error:
Only one top level element is allowed in an XML document. Error processing resource...
Accompanied with this PHP error:
Warning: file_get_contents(...)
It seems straight forward, except it's not reproducible in any way and it's happens 100% on our clients computers (more than 6). Initially I thoug...
W3's EXI (efficient XML interchange) is going to be standardized.
It claims to be "the last binary standard".
It is a standard to store XML data optimized for
processing and storage, is bundled with XML schema (making the data
strongly typed and strongly structured). Well, there are a lot of
claimed advantages. I was impressed most by t...
I want to implement a web-service that uses the same interface as the Lists web service in sharepoint. I do not want to run this through sharepoint. What is a good way to get started in this?
I have tried to use the wsdl.exe tool to generate some wrapper classes but the generated wrappers seem to have punted on the structure parameters ...
Is there a way to view rss feeds as formatted xml that doesn't involve messing with my browser's installation or writing my own tool?
Edit:
Preferably a way that works on an OS other than Windows.
...
Hello,
I'm thinking about an idea for something, as well as learning Ruby on Rails (easy eh :) ). I want something to allow a user to generate forms as templates, then assign these templates as forms in a location in a tree hierarchy, then allow users to fill in instances of these forms and save the data.
So, I've got two different t...
HI,
I want to keep the Outlook contacts in an XML file. And I want to compare, merge and resolve conflicts of this XML file with another XML file which may have same attributes ?
Also I want to know when a particular node is editied/newly added ? How we can achieve this in XML using C# 3.5 ? Should I use any XML Schemas ? How this is po...
Is it possible to preserve whitespace inside tags?
I am accessing XML nodes (containing XHTML content) in an XPathDocument using a XPathNodeIterator.
Some of the tags in the nodes are not "strict" XHTML (and this is allowed in the final output of the tool). Some nodes contain image tags without the trailing space.
<img src="filename.p...
I have an XML file that I want the user to be able to see with two different stylesheets. The stylesheets are mutually exclusive, so only one of them should be active at a a time.
I tried adding the following to the top of my XML file:
<?xml-stylesheet type="text/xsl" href="brief.xsl" title="Breif" ?>
<?xml-stylesheet type="text/xsl"...
I have a Standard .net 2.0 data grid which uses a XMLDatasource. The datasource is set dynamically by passing in XML string to the "Data" property of the XMLdatasource on a button click event.
This workd fine the first time around but not on subsequent button clicks.
i.e. eventhough the xml passed in changes the grid only diplays the ...
I have the following program which very nearly works but is producing the following error when I try and compile, I have no idea how to fix it! any ideas?
Forms, mainform in 'mainform.pas'...
"unit1.pas(9): , or ; expected but 'IN' found;
"project1 could not compile unit1.pas
unit Unit1;
interface
uses
Windows, Messages, SysUt...
I am using Castor 1.2 for marshalling.
Do you have any experience with using Castor for this purpose?
Do you have suggestions for improving performance?
...
I need to know how to embed a Excel spreadsheet in a Joomla site.
...
Is it possible to import an XML DTD into Visual Studio in order to generate a proxy class?
I have a third party .dll that I need to interface with that is designed like an XML service. The interface into the .dll is all driven by XML inputs, and returns output as XML. The nice thing about it is that all the input and output types are we...
We have an ASP.NET application with an InfoPath forms component, delivering InfoPath forms to the browser using InfoPath Forms Server. Rather than save the forms in SharePoint, we submit the XML form data to a ASP.NET web service, which saves the data as an XML data type in SQL Server 2005. This is working fine, and we have no issues l...
I've been working with a lot of semi-complicated XSD's lately and am wondering: What are some of the better tools for working with XML schema? Are there any graphical tools?
Standalone or Eclipse-based are ideal as we aren't a .net shop.
...
I am creating an ASHX that returns XML however it expects a path when I do
XmlWriter writer = XmlWriter.Create(returnXML, settings)
But returnXML is just an empty string right now (guess that won't work), however I need to write the XML to something that I can then send as the response text. I tried XmlDocument but it gave me an erro...
I have classes like this
[DataContract(Namespace = "")]
public class Foo
{
[DataMember(Order = 0)]
Bar bar;
}
[DataContract(Namespace = "")]
public class Bar
{
Baz baz;
[DataMember(Order = 0)]
string TheBaz
{
get { baz.ToString(); }
set { SomeOtherCode(value); }
}
}
I want this to generate...