How would i go about extracting specific information from the XML returned from a webservice.
The webservice is called from an embedded webbrowser in a C# windows form.
I was thinking that mabey i could save the displayed data as XML file and read from that though it would need to be automatic and not use the save dialog that webbrowse...
can anybody help me how to return the enumeration of my XSD complexType
I want to get Hz, and Orders enumeration.
<xs:complexType name="ScalarType">
<xs:simpleContent>
<xs:extension base="xs:float">
<xs:attribute name="Units">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:en...
Hi,
This question is somewhat related to
http://stackoverflow.com/questions/530064/fastest-xml-parser-for-small-simple-documents-in-java
but with a few more specifics.
I'm working on an application which needs to parse many (10s of millions), small (approx. 300k) xml documents. The current implementation is using xerces-j and it takes...
Hi, I am using jQuery.ajax to parse some xml from a file. Everything works fine in IE (6,7,8), Firefox, Opera and Safari, but fails with Google Chrome. Here is the code:
/* ... */
this.loadXml = function()
{
$.ajax(
{
type: "GET",
url: "some_file.xml",
dataType: ($.browser.msie) ? "text" : "xml",
success: function(xml)
{
...
I have the following input
<row test="1" />
and want to generate the following output when using XmlTextWriter.
<?xml version="1.0"?>
<root xmlns="urn:default">
<row test="1" />
</root>
According to the documentation for InnerXml (MSDN), the following code should work correctly.
var outputdoc = new XmlDocument();
outputdoc.Appen...
Hello,
If I have an object that contains a few fields that are Lists of other objects, and I want to generate the XML to represent that object, I get something like this
<top level object>
<object1 />
<object1 />
<object1 />
<object2 />
<object2 />
<object3 />
</top level object>
and I want to generate something like thi...
I store all my data in on XML column in SQL Server 2005.
As more and more records are being inserted, I notice the queries are slowing down. I've tried creaeting a Primary XML Index, as well as a Secondary VALUE index and this did not do anything to help the speed.
Any tips,thoughts, or tricks that I'm missing?
Sample View that I que...
I have the below XML
<myroot>
<scene>
<sceneId>983247</sceneId>
<item>
<coordinates>
<coordinate>0</coordinate>
<coordinate>1</coordinate>
<coordinate>2</coordinate>
<coordinate>3</coordinate>
</coordinates>
<Values>
<Value>34</Value>
<Value>541</Value>
<Value>255</Value>
<Value>332</Value>
</Values>
</item>
</scene>
</myroot>
How can...
Hello.
I have a complex XML+Schema to configure my system.
I'm looking for a quick and dirty way to give my users access to that XML
but in a simple GUI that also validates the entries.
Is there some tool that can generate GUI (preferably C#) from the XML ?
Thanks,
SW
...
Hi,
I'm working on a project which involves writing a program to communicate with a server, using XML over a TCP/IP connection. I am quite new to the programming world and have no experience in XML. All i know is that it's a little like HTML, which i have used many years ago. The only thing I was told is that the program must be in XML ...
I'm executing a stored procedure on sql server 2005 from livecycle es 8.2
the result return something like
<Table>
<Row>
<ID>1</ID>
<EN_Cd>EN</EN_Cd>
<FR_Cd>null</FR_Cd>
<EN_Nm>English</EN_Nm>
<FR_Nm>Anglais</FR_Nm>
<EN_Shrt_Dscrptn>null</EN_Shrt_Dscrptn>
<FR_Shrt_Dscrptn>null</FR_Shrt_Dscrptn>
</Row>
</Tabl...
I want to know the advantages and trade-off while using Java/PHP bridge and XML-RPC for communication?
How does the performance vary between the two?
Thanks in advance for the community support.
- Aditya Macherla
...
So, I can easily use LINQ to XML to traverse a properly set-up XML document. But I'm having some issues figuring out how to apply it to an HTML table. Here is the setup:
<table class='inner' width='100%'>
<tr>
<th>
Area
</th>
<th>
Date
</th>
<th>
ID
...
I'm reading a string into a dataset using the ReadXML method. When I try that it returns an Invalid Characters in the path error. if I save and open the string in IE as an xml file it erros on the encoding="UTF-16" line so I assume that is the cause of the problem.
Is there a simple way to fix this? Shouldn't it be able to handle unico...
I'm looking for the simplest way to convert a string into an XmlElement in C#.
Thanks
...
Hi,
Iv got two DB tables. One containing types(Id, Name) and the other holds datapoints (RefId, Date, Value) that are referenced by the types. I need to create a XML file with the following strukture:
<?xml version='1.0' encoding='utf-8' ?>
<root>
<type>
<name></name>
<data>
<date></date>
<temp></temp>...
Hello,
I'm trying to query a particular value in an XML field. I've seen lots of examples, but they don't seem to be what I'm looking for
Supposing my xml field is called XMLAttributes and table TableName, and the complete xml value is like the below:
<Attribute name="First2Digits" value="12" />
<Attribute name="PurchaseXXXUniqueID" ...
Hi All,
I have a hard time figuring out what code this website (hotair.com) is using for their quicklinks -- it's the Headline section. I' trying to create the same table layout but with one column.
I was using the Minipost plugin, but I figure there must be an easier way to maintain links from feeds, which I can customize the headlin...
I am trying to figure out how I could extract an inner Xml String from a Xml document.
According to the API there a method VTDNav.getContentFragment() which seems to be the right choice. But this method returns a long. How do I use that long value to retrieve the xml between the two tags?
Any help appreciated. Thanks in advance.
...
I wrote an XML parser for JavaHelp's toc.xml file in order to intercept some attributes I use in the tocitem tag that are ignored by JavaHelp. Here's what toc.xml looks like:
<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE toc
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN"
"http://java.sun.com/produ...