I'm trying to create a class which I can serialize to produce the following XML:
<chart palette='1'>
<categories>
<category label='2001' />
<category label='2002' />
..etc
I have a class which look something like this:
[XmlRoot("chart")]
public class Chart
{
[XmlAttributeAttribute("palette")]
public string ...
Do you know best practicies ?
...
I'm receiving the following error when using soapclient($myUrl);
SOAP-ERROR: Parsing WSDL
Here is what I see if a directly access the WSDL link.
<element name = "key" nillable="true" type="xsd:anyType"/>
<element name = "value" nillable="true" type="xsd:anyType"/>
</seq...
ok here is my code:
var xml:XML =
<xml>
<typeA amount1="500" amount2="300" amount3="250" date="2008-02-17"/>
<typeA amount1="500" amount2="300" amount3="250" date="2008-02-16"/>
<typeA amount1="500" amount2="300" amount3="250" date="2008-02-17"/>
<typeB amount1="500" amount2="300" amount3="250" date="2008-02-18"/>
<...
Is there a way to convert Excel 2003 XML file to Excel 2003 XLS format with Java? Or at least any open source framework that can do this?
Thanks,
Matthew Huang
...
I am extracting some data from SQL Server. One of the columns is a ntext column that has a blob of XML there. As I extract it, it looks really ugly. Is there any way to format the XML inside a SQL Server 2005 stored proc?
...
Is there any way to get the amount of bytes read in by the XMLStreamReader, I am using a java.io.FileReader which is passed into the factory that creates the xml reader. I'm doubting this is possible with the XMLStreamReader but any work around is great.
...
Hi,
I have Linq object which has one field of type 'System.Xml.Linq.XElement'. When bound to Gridview this XML is properly displayed as text. However, when I try to edit that row and update Linq object I get error:
Cannot convert value of parameter 'CustomData' from 'System.String' to 'System.Xml.Linq.XElement'.
What is the easiest way...
Learning the basics of XML for the first time from W3C tutorials. How are most XML files generated? Does the server side application usually print a complete XML file to be parsed each time there is new data?
I have a CGI application in C and it includes the SQLite API. Is the best way to do some sort of printf to a XML file (using my ...
Are they all this complex? : http://msdn.microsoft.com/en-us/library/ms766497(VS.85).aspx
Just need something basic to produce XML in C.
...
I am using JibX as a Java Object to XML Binding tool.
With it, I want to have the following output:
<?xml version="1.0" encoding="UTF-8"?>
<FEAPService>
<Request>
<Function>aaa</Function>
<SubFunction>bbb</SubFunction>
<Operation>ccc</Operation>
</Request>
</FEAPService>
But I'm getting this:
<?xml version="1....
Hello everyone,
If the app.config format is wrong, for example, not a correct format XML file, application will fail from loading. Are there any ways to let me know such issue -- for example, receiving some events (so that I could write file log and event log to record this issue) if app.config loads error because of a mal-formatted XML...
I use JAXB to create XML messages. The XML I need to create is (for the sake of simplicity):
<request>
<header/>
</request>
My code looks like this:
import javax.xml.bind.annotation.*;
@XmlRootElement(name = "request")
public class Request {
private String header;
@XmlElement(required=true)
public String getHeader() ...
I have seen many programmers write XML in very different ways. One of the major differences I have seen is how attributes versus child nodes are used to represent data.
Scenario A:
A property of an element (say 'name') is represented using an attribute of that element node.
<JobTypes>
<JobsType name="Job Type 1">
<bla...
I am trying to get the number of specific nodes in an XML file using the XPath count function, however, this keeps returning an error "An exception of type 'msxml3.dll: Expression does not return a DOM node."
How do I get the return value from an XPath count using VBScript and MSXML DOM
Dim oXML
Dim homeId
Dim awayId
Dim homeGoals
...
I am using ssis to import large XML files. The XSD generating function is not too good. Can someone recommend a good program to creating XSD? I would like to a program to be able to create the XSD without having to understand the cryptic notation it uses!
...
I'm trying to learn LINQ and have a question on querying XML using VB.
My XML:
<Procedure-Text>
<A ID="marker1"></A>Do This Procedure
</Procedure-Text>
<Procedure-Text>
<A ID="marker2"></A>Do That Procedure
</Procedure-Text>
How can I specify my query to get only the procedure text that has the ID attribute marker2? In ot...
I have this as xml:
<event:event>
<event:sessionKey></event:sessionKey>
<event:sessionName>Learn QB in Minutes</event:sessionName>
<event:sessionType>9</event:sessionType>
<event:hostWebExID></event:hostWebExID>
<event:startDate>02/12/2009</event:startDate>
<event:endDate>02/12/2009<...
Does anyone know how I can view the XML being sent to a Java Web Service from a C# based ASP.NET page?
I've created a disco object web ref in .Net from my Java WSDL but when I use the likes of Fiddler to view the XML attached to the HTTP request, instead I see the form parameters being passed. Is there anyway I can view the serialized X...
I have used XSLT for a few different things over the years. I got used to it, but never felt like I really understood it all the way through. It always seems like I have to experiment to get the result I want, and the outcome isn't necessarily a logical conclusion in hindsight.
On top of that, the one or two times I had to turn over som...