xml

how to use live search Api using window application

i have to intregate live search api, yahoo & google search together in IE -Toolbar using window application & display the combined result after search. I have already implement the toolbar where i have put one textbox, dropdownlist & search button . On click of search button it has to display result depending on search items. pls anybod...

What's the best XML parser for Perl?

I have tried many of the Perl XML Parsers. I was quite interested in the Sablotron Parser, but it is such a pain to install on a Windows box. Currently I have started using XML::LibXML and XML::LibXSLT both of which seem to do everything I need. They seem to be quite standard as well. Are there any better XML Parsers to use than th...

LINQ to XML and LINQ to Objects syntax

Why is: (CheckBox)lstControls.Where(x => x.ID == "some_id").SingleOrDefault(); not as efficient as: (CheckBox)lstControls.SingleOrDefault(x => x.ID == "some_id"); And for a not-so-well-formed XML document and you only know the name of the element you are looking for is this the best statement you can use to find the element: var x...

Any schema language for XML that allows for specifying constraints like no cyclic references?

Is there any schema language for XML that allows for specifying a constraint that there can be no cyclic references between elements. As a toy example: <animal name="A" eats="B"> <animal name="B" eats="C"> <animal name="C" eats="D"> would validate, but <animal name="A" eats="B"> <animal name="B" eats="C"> <animal name="C" eats="D">...

Parsing XML result from a Web Service

I'm new to Web Services and XML and was tasked to parse an XML response packet returned. What's the best way to parse an XML result in C#.NET? I need to bind to a data grid as the end result from a search query. ...

Errors forming a JAXP Schema (javax.xml.validation.Schema)

We are using JAXB 2.x to generate data objects from a massive schema system (42 XSD files). That entire process runs fine, no problems there. But they deprecated (and removed from implementation) the entire JAXB validation framework, replacing it with the JAXP validation framework instead. (This is all located in the javax.xml.validation...

Writing XML with C#

My C# is a bit rusty and I've never written XML with it before. I'm having trouble getting the XML to write to a file if I attempt to write anything other than elements. Here is the test code that I have: var guiPath = txtGuiPath.Text; MessageBox.Show("Dumping File: " + guiPath); try { var writer = new XmlTextWriter("client_setting...

Does ActionScript 3 require an error event handler for XML?

In a Flash game I am developing, there are some settings that are set by an external XML file. When I run the SWF file through the Flash IDE, it loads fine. If I run the same file as a projector (.exe) or the independent SWF file, it does not load the XML file. My (unexpected) fix was to assign an error event listener to the loader ob...

How do you measure/estimate size of XML programming effort?

To set the scene - I work in one of those industries that loves estimating and tracking pretty much everything. One of our key metrics is SLOC (source lines of code - declarative and executable statements). We use it for project size and cost estimation, project planning, and many other things. We try to use it to compare apples to ap...

Performance of XML dom and the proper usage thereof

I hear all these bad things about the DOM.. Don't use the Activex object, XmlDom, or is it "dom".. oh God you are using the DOM? What is the straight on this usage. But we use document.GetElementbyId and ...Name all the time.. So what am I actually using when invoke these methods? Is this is what the browser is uing... The company ...

Serialize Oracle row to XML

I want to create a stored procedure that takes the name of a table and a row_id and can serialize it to an xml string. The table may contain clobs and blobs. Can I do this in PL/SQL, or do I have to use Java? The main objective for this is to have a table with all updates and deletes on some tables, keeping the X latest versions, or X...

Updating XmlDocument using linq (possibly)

I have an XmlDocument object in memory, here is a sample of the data: <terms> <letter name="F"> <term> <name>fascículo</name> <translation language="en">fascicle</translation> <definition>pequeño paquete de fibras nerviosas o musculares</definition> </term> (There are many terms in the actual document) I want to be able to find...

Anyone that has a partial XSD that describes the METADATA section of Delphi TClientDataSet XML files?

I know that you cannot fully describe the XML that the TClientDataSet with an XSD schema, as the ROW elements have attributes that have names that vary with the contents. However, the METADATA section of such an XML should be. So: is there anyone having a (partial) XSD that describes the METADATA portion of the XML that can be saved wi...

How to locate Rows in SQL Table where xPath

Imagine the following table: ------------------------------------------------------------- ID | XML ------------------------------------------------------------- 1 | <Form><object ID="1" /></Form> 2 | <Form><object ID="2" /></Form> 3 | <Form><object ID="2" /></Form> ---------------------------------------------...

XML/HTML special character codes

Is there an official name for the character codes, the codes that represent & as & in order to differentiate between the text character and the coding use of it, used in XML and HTML content? Also, are these part of the XML or HTML standard, or a third party standard? And, is there an official site you can point me to about them? ...

What type of X509 Certificate to use for XML Signature?

I'm currently developing some software that uses XML Signing to transfer files securely between two machines. We're using X.509 certificates from our own CA as keys. The CA (Windows 2003 server) offers several types of certificates (Email Cert, Server Cert, ...) Which one of those would I need to generate for XML Signature? To my knowl...

Sending xml data from one server to another

Hi Can anyone tell me the best way to send some xml data from one server to another in an asp.net application. Basically in one application on a certain condition I want to trigger the sending of some xml values to another receiving asp.net application that will process the data and return the user to the sending site. If anyone has a...

CakePHP XML loading

Hey all, I am using the CakePHP XmlHelper to parse XML files like: App::import('Xml'); $file = "my_xml_file.xml"; $parsed_xml =& new XML($file); How can I use it to load XML files from URLs like http://www.site.com/file.xml Thanks! ...

Creating XML in C++ Code

In my project there are situations where we have to send xml messages (as char *) among modules. They are not really large ones, just 10-15 lines. Right now everybody just creates the string themselves. I dont think this is the right approach. We are already using xerces DOM library. So why not create a Dom tree, serialize it, and then s...

ignore case in xs:unique?

Is it possible to use xs:unique to ignore case, that is, flag as duplicate two values that differ only in capitalization? ...