xml

Java XSLT processors supporting XPath 2.0

What are the currently available XSLT processors supporting XPath 2.0 standard? ...

XMLUnit for C++

Hi, Anyone knows if there exists something like XMLUnit for C++. I'm looking for an easy way to check nodes, values, etc in a XML output. We are using google test in Visual Studio but I suppose any library that makes the work easier will be enough... I'm using Xerces as a XML parser but XMLUnit (http://xmlunit.sourceforge.net/) has s...

work on a particular RDF file in flex

Hi all, I'm still working on a particular RDF file, but seems that something is not going in the right way for me. The code of my RDF file is the following: <?xml version = '1.0"?> <rdf:RDF xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns:dp = "http://www.telemed.uniud.it/d...

How can I mix unbounded groups with restricted groups in a complexType?

I'm trying to create a tool that can generate XSDs for the XAML produced by serializing a type in .NET, but this is not specifically .NET related. Let's say I have a type. This type has properties and is a collection. public class MyType : Collection<CollectedType> { public PType1 PropertyOne {get;set;} public PType2 PropertyTwo...

How to modify webservice proxy to get Raw XML

Here's the proxy method that was created for the web service I'm trying to access. How would I go about modifying it to get the raw XML from the web service call? /// <remarks/> [System.Web.Services.Protocols.SoapHeaderAttribute("CallOptionsValue")] [System.Web.Services.Protocols.SoapHeaderAttribute("MruHeaderValue")] ...

Dynamic xsd and Biztalk 2006

Hi all, I'm sort of a biztalk newbie and we run 2006 here with plans to migrate to 2006 R2 in the future. I have a schema that I need to work with called Siri, which is public at: link text or link text for the root xsd document. I have successfully imported this schema into my biztalk project, however, I am finding it difficult to ge...

XML format-number problems when using   separators

We're working on a web page that should be able to display prices such that spaces are the grouping separators and commas are the decimal seperators... eg the value 1234567.89 should display as "1 234 567,89". (We're actually using &#160; so we get a non-breaking space.) This seems like the right XSL to do it, and it almost works, but ...

Can I change an XText object into a string with character references and entities resolved?

Given this XML: <element>Circles &amp; boxes</element> What I would like to do is store the string value of the element as a string, with all of the character references and entities resolved to their equivalent unicode characters. So, for this element, I would want "Circles & Boxes." When I do this (text is an XText object represen...

Datetime type

i have store this kind of datetime: 06.09.2009 12:30:45 . i have been using xml datastore type. i set "06.09.2009 12:30:45" in xml file . "06.09.2009 12:30:45" is there datatype? or Datetime type? ...

parsing XML that contain XML in elements, Can this be done.

I have a 'complex item' that is in XML, Then a 'workitem' (in xml) that contains lots of other info, and i would like this to contain a string that contains the complex item in xml. for example: <inouts name="ClaimType" type="complex" value="<xml string here>"/> However, trying SAX and other java parsers I cannot get it to process th...

How to handle null objects in XML coming from SQL Server?

I have a stored procedure that returns an object as XML. How do I handle the case where the object doesn't exist? I can't return null or empty string as the XmlReader complains that it is not valid XML. If I return an empty Tag, how do I tell if it is just an empty object or no object? ...

How to delete all comments from XML using XQuery on SQL Server 2005?

I can easily select all comments from XML by select @XML.query('comment()') but can't find how to delete them. Is there appropriate syntax for @XML.modify('delete ...')? ...

Recursively find all the nodes from an XML having a given argument with PHP / simpleXML

Hi guys, Like I said in the title, I was wondering whether it would be possible and how, to recursively parse an XML document and return all the nodes that have a given argument. What I'm actually trying to do is to load and XHTML document and return all the nodes (P nodes, DIV nodes, etc.) that have a class equal to a previously defin...

I need to show excel data on a presentable web page or word doc?

I have survey results which are formatted in excel fine. I then need to show these results indivually wiht the headings on a presentable word doc or wewb page? s there any weay to do this. For example: column one - comlumn 2 result 1 - result 1 result 2 - result 2 to comlumn 1 result one column 2 result one column 1 res...

Why is XDocument.Descendants() returning IEnumerator in PowerShell ISE?

I'm writing a PowerShell script to manipulate some Windows Installer XML (WiX). I'm using the new XML APIs in .NET 3.5 to do this, as I find it an easier API to work with than the DOM. The following script fragment is flatly refusing to work: [System.Reflection.Assembly]::LoadWithPartialName("System.Xml.Linq") | Out-Null # Basic ide...

Any online xml formatter or formatter in free text editor?

Any online xml formatters? Ones that properly indent the tags. Or any free Windows text editor which has a built-in xml formatter? ...

How can I convert a XML file into a XSD file, using java code ?

Hi, I am looking for an API what I can convert XML files into XSD files. In my project I am using that API's JDOM and Xerces. And I can edit my attributes and namespace, but I can't transform a xml in xsd. I have no idea to how I can start. Any suggestion? ...

How should you structure your xml file?

Hello, When creating a new xml file, how does one go about structuring the file correctly or the best possible way. By structure, which may not be the best word in this case, I mean how does one choose between making something an element or an attribute of an element. For example, if I create a Person.xml file which contains a list of ...

How can I set a network connection to use the AES encryption method on a Windows Mobile device?

I am trying to configure a network connection using ConfigurationManager.ProcessConfiguration, with the configuration file as specified in the MSDN docs. I can create a connection, and configure all of the settings correctly except for the encryption type. No matter what I choose, it is always set to TKIP. I need to set it to AES, which ...

Deserialization Error: The XML element 'name' from namespace '' is already present in the current scope.

This is my first time using XML Serialization and this is driving me absolutely nuts after 2 days of trying to troubleshoot this. I get this error when the deserialization kicks in: The XML element 'name' from namespace '' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the eleme...