I am programming a simple proxy in java:
Read XML File
Send request to Web-Service
Read Web-Service response
Write response to file
My first attempt is using JAXB to read the xml-file and generating Java-Objects.
Then I send the objects with JAX-WS (IBM WebSphere).
I receive the response as a "ResponseObject" which is then genera...
I have the following xml file
<ScheduleProvider id="257" scheduleDate="2008-03-20T15:34:18Z" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="my.xsd">
<Content action="insert" duration="7200" id="2" title="movie-2">
<EpgDescription>
<EpgElement key="Year">2002</EpgElement>
...
I have two separate apps - one a client (in C#), one a server (in C++). They need to exchange data in the form of "structs" and ~ about 1 MB of data a minute is sent from server to client.
Whats better to use - XML or my own Binary format?
With XML:
Translating XML to a struct using a parser would be slow I believe? ("good",but: load...
I'm planning to create a news item which uses xml as it's backend and the Display should be like:
Date: 08/Mar/2010
------------------------------
Title | News
------------------------------
News 4 | Some news
News 3 | Some news
News 2 | Some news
News 1 | Some news
------------------------------
Date: 07/Mar/2010
----------------...
I store my connection-string in XML file. Then i use it in powershell script. Is there a way to secure it/to encrypt it somehow?
...
I'm trying to use XSLT to convert a simple XML schema to HTML and planned to use fn:replace to replace returns (\n) with <p>. However, I can't figure out how to use this function properly.
A simplified version of the XSLT I'm using reads:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org...
If I am passing an XElement or XDocument to my ASP.NET MVC view, what's the best (read: easiest) way to repopulate my XML with the values returned from the edit form on submit?
Thanks,
Matt.
...
Does anyone have any thoughts about making Simile read data from a database without using XML? Or is XML definitely the way to go. I'd like to hear about possible alternatives and opinions around what would be the most optimal solution.
The data I will be using are basically just coordinates and geographical names, as well as some small...
How can I use XSD.exe to create an XML schema for the Microsoft.AnalysisServices.Database object?
...
Note: I cannot use XSD... not going to go into why.
I'm having a problem properly representing the following xml in a class that it should get deserialized into:
XML:
<product>
<sku>oursku</sku>
<attribute name="attrib1">value1</attribute>
<attribute name="attrib2">value2</attribute>
<attribute name="attribx">valuex</attri...
I'm looping through a ResultSet in Java; which for testing purposes is returning about 30 rows with 17 Columns (all String data) per row. I'm manually building an XML String out of the results using StringBuilder and its literally taking about 36 seconds for the loop to finish these iterations.
Note: I realize this isn't the best way to...
I was wondering if this was a proper XML syntax, because I need to remove a node in this document using VBscript and I really am not able to do it.
<?xml version="1.0" encoding="utf-8"?>
<dbm>
<servers>
<server name="PCTEST">
<references>
<database name="TES1" path="\C$\Build"/>
</references>
</server>
</...
I am building SSAS cubes using AMO in c#. For this, I want to get a list of the public properties for the classes for Server, Cube, Dimension, etc. This will be my superset from which the user must provide mandatory properties and may provide the optional ones.
I am trying to generate an XSD schema. I ran the following command
XSD C:\w...
Duplicate: Is there any form designer available for Google Android?
I would like to move a CheckBox, so it displays in a different location than the top-left corner under Absolute Layout inside main.xml, for 'Android'. I'm using Eclipse to edit my views. How would I do this?
On an iPhone they have a tool called Interface builder ...
I need to implement a webform (JSP, struts) featuring loads of checkboxes and textfields. Basically I have a tree made of checkboxes which has to be extendable (like adding a new node). On another page the same data is used, but refined. So you add again child nodes to the mentioned data structure using textboxes etc. I can describe the ...
I have the following function:
private static void prettyPrint(Document doc, File destFile)
{
TransformerFactory tfactory = TransformerFactory.newInstance();
Transformer serializer;
try
{
if( !destFile.getParentFile().exists() )
{
destFile.getParentFile().mkdirs();
}
serializ...
I am working on a drag and drop system for my WPF App.
The way it works is:
I take the dragged Item
Serialize it to xml
When it gets dropped I deserialize it again.
This worked fine in my test app. However, now that I am trying to do it in my real app, I have hit a snag. The class I am trying to deserialize (Microsoft.TeamFou...
I have the following XSL translator that is is being used to generate some XHTML. The generated XHTML is then parsed as XML in C# so it can be injected into another XHTML document. The trouble is that the XHTML that is outputted from the XLS does not have a root XML node, just sibling nodes (< table > elements). I tried adding the div...
I had built a custom XML merge with Microsoft Word 2007 using the docx format, allowing the user to access fields expressed in a schema and include them in a Word DocX. I then opened the file, did the search/replace throughout the document, closed it up and opened it, fully merged, in Word.
With the patent suit loss, new users of our so...
So I don't know how to exactly word it, but here it goes. Right now my Application can pull the information about the User's from the XML without problem. Sample XML:
<statuses type="array">
<status>
<id>ID1</id>
<text>Text That I want to pull 1</text>
<user>
<name>User1</name>
<screen_name>User1_Screen</screen_name>
<...