They are XML, but it seems that they seem to be recreated each time the map is being saved and the ids of the elements inside are changing each time. The tool (Message Designer) is quite old and not very convinient to use.
Have you any hints how to version, track changes in such map? Or is there an alternative for Message Designer?
...
I have the following in an XML file:
<TypeDef name="a">
<ArrayType high="14" low="0">
<UndefType type="node">
</UndefType>
</ArrayType>
</TypeDef>
And I want to copy this entry. Normally I'd go to the first line, enter Line-Visual mode using V, go down to the last line, yank and paste.
How can I copy the entire entry wit...
Is this technology still popular?
I want to make a website which automatically transforms XSLT files. It should work like this:
When a user accesses the site, a single handler would accept his request and then find a suitable XML for it (according to the URL requested) and transform it using its attached XSL file.
I want to do this in ...
I'm writing a Windows service in C#. I've got an XmlWriter which is contains the output of an XSLT transformation. I need to get the XML into an XMLElement object to pass to a web service. What is the best way to do this?
...
The use case is long term serialization of complex object graphs in a textual format.
...
Bonjour tout le monde,
I'm having this XML document with namespaces and I want to extract some nodes using XPath.
Here's the document:
<ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<anyType xsi:type="Document">
<Id>5</Id>
<Ti...
I've been implementing a SQLServer 2005 backed EF solution for the business app I'm working on, and It's been working out fine.
I'm encountering a problem in that I want to allow the user to work without a database at all while using the same entities.
I don't want to go to local databases for portability reasons. Also, it's easy to se...
I have the following code: DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(xmlFile);
How can I get it to parse XML contained within a String instead of a file?
...
I use a java application to call a xslt to do a xml transformation. The xslt file will generate a message and terminate the process if some condition happens. However, my java application couldn't catch the error message generated by xslt, it only catch an exception with general information - "Stylesheet directed termination".
Here is m...
Anyone know how can I check the php SimpleXmlElement Object for errors?I mean if is an valid XML file?I have read the manual a lot..but i don't get it!
Best Regards,
...
I helped a friend out by doing a little web work for him. Part of what he needed was an easy way to change a couple pieces of text on his site. Rather than having him edit the HTML I decided to provide an XML file with the messages in it and I used jQuery to pull them out of the file and insert them into the page.
It works great... In F...
I've been working with xml lately. And have noticed a bit of a phenomenon (maybe not that big of a deal to the rest of the world, but to me it was). Perhaps, it is me being a newb. But shouldn't most hard coded or magic numbers be broken out to a configuration file? For example,
string url = "http://www.domain.com/aDocument.xml"...
In our new project we have to provide a search functionality to retrieve data from hundreds of xml files. I have a brief of our current plan below, I would like to know your suggestions/improvements on this.
These xml files contain personal information, and the search is based on 10 elements in it for example last name, first name, emai...
I have an XML parser that crashes on incomplete XML data. So XML data fed to it could be one of the following:
<one><two>twocontent</two</one>
<a/><b/> ( the parser treats it as two root elements )
Element attributes are also handled ( though not shown above ).
Now, the problem is when I read data from socket I get data in fragments...
My application configuration is very hierarchical and fits nicely into a single XML.
Soon (YAGNI, Yeh) parts of this information will be consumed by other applications remotely, which calls for a database.
So, I went into designing DB tables and mapping them back to my application's class hierarchy (using EF). however it became a mainte...
I have a xml-file on subdomain a, and a php script on subdomain b. I want to read, and use, the data from the XML file, through PHP.
Here's the catch. The file is secured using HTTP Authentication.
How do I make PHP log-in, and read the contents of the file?
...
I am trying to build an Infopath form which populates fields with data back from a Sharepoint list. I set up a drop-down list box who's values get populated from a Sharepoint data source. That part works fine. Now I want other string fields to get automatically populated once the user selects one of the items from the list.
So I set up ...
My question is as follows:
I have to read a big XML file, 50 MB; and anonymise some tags/fields that relate to private issues, like name surname address, email, phone number, etc...
I know exactly which tags in XML are to be anonymised.
s|<a>alpha</a>|MD5ed(alpha)|e;
s|<h>beta</h>|MD5ed(beta)|e;
where alpha and beta refer to any c...
I have an XDocument object. I want to query for elements with a particular name at any depth using LINQ. When I use Descendants("element_name"), I only get elements that are direct children of the current level. What I'm looking for is the equivalent of "//element_name" in XPath...should I just use XPath, or is there a way to do it us...
I have a simple XML with a CDATA section like:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<config>
<input>
<![CDATA[
line
another line
and another
]]>
</input>
...
</config>
And I have the current code for parsing the CDATA section using MSXML.
for (int i = 0, count = pChildNodes->Getlength(); i < count; ++i) {
...