xml

Join Table on xml column.

I have 2 tables as follows on Sql Server 2005 database Request(RequestId int, Filter xml) DataTable(Id int,.....) The filter column has a list of ids from datatable as xml for e.g. 1013 Now I want to select the data from DataTable that match the ids in the filter xml. Here is what I have come up with select d.* from request ...

xml.dom.minidom: Getting CDATA values

I'm able to get the value in the image tag (see XML below), but not the Category tag. The difference is one is a CDATA section and the other is just a string. Any help would be appreciated. from xml.dom import minidom xml = """<?xml version="1.0" ?> <ProductData> <ITEM Id="0471195"> <Category> <![CDATA[Homogenizer...

Using Clickonce with xml config files

Hi, I have a windows forms app that I want to use Clickonce with. I want to have a custom xml files for the app. But what if I want to change it later, i.e. either replace it or update it. How would you do that with clickonce?? Malcolm ...

What is the best way to generate XML from the data in the database?

If I have thousands of hierarchical records to take from database and generate xml, what will be the best way to do it with a good performance and less CPU utilization? ...

How to import attributes and elements from XML to Filemaker?

I have an application that stores its user database to an XML file and I need to export selected fields to Filemaker so my client and mine the data on Filemaker. I managed to make XSLT file to import XML elements, but cannot seem to find a way to import any elements. Pointers in solving this problem are greatly anticipated. Example of t...

TypeError: Value undefined (result of expression xmlDoc.load) is not object.

I am trying to load an XML file using Javascript and I have yet to find a good function that works in IE, Firefox, and Safari. The load function I am currently using is basically the one straight out of the w3schools tutorials: http://www.w3schools.com/XML/tryit.asp?filename=tryxml_dom_createelement The exact code looks like: if (win...

Why XmlDocument throw when doing this XPath request ?

var xmlDoc = new XmlDocument(); xmlDoc.Load("XMLFile1.xml"); XmlNamespaceManager manager = new XmlNamespaceManager(xmlDoc.NameTable); manager.AddNamespace("frbny", "urn:toto"); var curs = xmlDoc.SelectNodes("/frbny:DataSet/frbny:Series/frbny:Key/frbny:CURR"); var values = xmlDoc.SelectNodes("/frbny:DataSet/frbny:Series/frbny:Obs/frbny:OB...

XML node with Mixed Content using PHP DOM

Is there a way to create a node that has mixed XML content in it with the PHP DOM? ...

TransforMiiX (XML/XSLT)

If you have a look at www.PollDaddy.com you will see that for every question you add a resulting xml and xslt file are requested and when recieved they are transformed. Then when you save your page you will see that the adjusted xml file (your filled in question data) is send back to the server to be saved to the database. I would lik...

Propel with Schema.xml

Is it possible to generate model in Propel using Schema.xml, instead of Schema.yml? There was once upon a time when xml was used for database generation in Propel, but it had been dropped in favor of yml. I should go for yml if I were handcoding my database schema, but now since I directly export my database schema from MySQL workbench ...

Is Linq2XSD Dead?

Does anyone have any updates on this since the alpha 0.2? ...

Loading a xml to a class with Javascript

How can I load a XML file to class using Javascript? ...

JAXB XML output format questions

Hi, I have Java classes with the following structure (the class names do not imply anything, I was just making them up). package test; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.annotation.XmlAccessTy...

Concept and programming for Accessing xml file that uses xsl file in a jsp Code.

Hi, I am a beginner in accessing backend xml files(which acts like a database) in a jsp code. can any one please provide me the links and references that provides good understanding for beginners like me. pls help. ...

AXIS2 generating wrong SOAP Message because of encoding. how to fix it?

QUESTION: how can I use a different encoding (charset and transfer) with axis? Here is my client: public Object[] invoke(String xmlRepresentation) throws CustomApplicationException { Object[] responseWS = null; RPCServiceClient serviceClient = new RPCServiceClient(); Options options = serviceClient.getOption...

Reading Xml into a datagrid in C#

Whats the best way to read Xml from either an XmlDocument or a String into a DataGrid? Does the xml have to be in a particular format? Do I have to use A DataSet as an intermediary? I'm working on a client that consumes Xml sent over from a Server which is being developed by one of my colleagues, I can get him to change the format of ...

ExecuteXmlReader and null Resultset Throws TargetInvocationException

I'm calling a stored procedure on a SQL Server 2005 database which returns an XML resultset. Sometimes it will return an null resultset becuase there are not rows to return. When this happens athe ExecuteXmlReader method throws a TargetInvocationException. This seems to be a known issue (see: http://social.msdn.microsoft.com/Forums/en-US...

Changing the precision of fields for xml export with ado object with the 'save' method

Hello, I am working on a VB6 application that uses an ADODB.Recordset object to dump data to an .xml file with the 'save' method, like the following: adoRecordset.Save strDst, adPersistXML where strDst is a string describing the destination. Now, there are some rows in the database that are floats/doubles, for some table. For exampl...

Can you filter an xml document to a subset of nodes using XPath in C#?

I'm trying to filter an Xml document so into a subset of itself using XPath. I have used XPath get an XmlNodeList, but I need to transform this into an XML document. Is there a way to either transform an XMLNodeList into an XmlDocument or to produce an XmlDocument by filtering another XmlDocument directly? ...

How to make use of Tags property of an xml node to get its information and attributes?

How would i make use of tags property of a node so that i can get the attributes of an xml node. I have to display an xml tree in a winform and then when i click on any node, its attributes should get displayed on a list box in same window. I want to make use of tags property, but for that i need to convert that tree node in the winform ...