I remember seeing in a sample a while ago that it is possible to break up a windsor configuration file into multiple ones and reference them from the app.config in a way that they get parsed automatically.
Of course I didn't bookmark it and now I can't find it and my Windsor.Config.xml file is creeping up on 600 lines. Can anyone tell ...
Hi,
I have a XML File like that
<?xml version="1.0" encoding="utf-8" ?>
<Configurations>
<EmailConfiguration>
<userName>xxxx</userName>
<password>xxx</password>
<displayName>xxxxx</displayName>
<hostAddress>xxxx</hostAddress>
<sslEnable>xx...
I'm trying to embed an xsl into a XML file. The reason for doing this is to create a single file that could be moved to different computers, this would prevent the need to move the xsl file.
The xsl file is creating a table and grabbing a test step from the xml and whether it passed or failed, pretty simple.
The issue I'm having, I t...
Hi everyone, here's the deal.
For my project I have to serialize and deserialize a random tree using Java and XStream. My teacher made the Tree/RandomTree algorithms, so I don't have to worry about that. What I don't know how to do is this: I am using FileInputStream to read/write the xml file that I serialized and deserialized, but ...
How can one ignore Unexpected element situation in JAXB ans still get all other kind of javax.xml.bind.UnmarshalException?
obj = unmler.unmarshal(new StringReader(xml))
Notice i still want to get the obj result of the xml parsing.
...
Among the data my application sends to a third-party SOA server are complex XMLs. The server owner does provide the XML schemas (.xsd) and, since the server rejects invalid XMLs with a meaningless message, I need to validate them locally before sending.
I could use a stand-alone XML schema validator but they are slow, mainly because of ...
Is there any complete Outlook XML View Definition, beside http://msdn.microsoft.com/en-us/library/aa140157(office.10).aspx, which is not complete, and is for Outlook 2002?
...
I have input field value from that is used for forming XPath query.
What symbols in input string should I check to minimise possibility of XML injection?
...
I would like to parse a document using SAX, and create a subdocument from some of the elements, while processing others purely with SAX. So, given this document:
<DOC>
<small>
<element />
</small>
<entries>
<!-- thousands here -->
</entries>
</DOC>
I would like to parse the DOC and DOC/entries elements...
Hi,
How do I Deserialize this XML document:
<?xml version="1.0" encoding="utf-8"?>
<Cars>
<Car>
<StockNumber>1020</StockNumber>
<Make>Nissan</Make>
<Model>Sentra</Model>
</Car>
<Car>
<StockNumber>1010</StockNumber>
<Make>Toyota</Make>
<Model>Corolla</Model>
</Car>
<Car>
<StockNumber>1111</StockNumbe...
I have the following XML document:
<projects>
<project>
<name>Shockwave</name>
<language>Ruby</language>
<owner>Brian May</owner>
<state>New</state>
<startDate>31/10/2008 0:00:00</startDate>
</project>
<project>
<name>Other</name>
<language>Erlang</language>
<owner>Takashi Miike</owner>
<state> C...
I'm using VB.net (2003), and calling the SelectNodes method on an xml document.
If I have a document:
<InqRs>
<DetRs>
<RefInfo>
<RefType>StopNum</RefType>
<RefId>0</RefId>
</RefInfo>
<RefInfo>
<RefType>Id</RefType>
<RefId>0</RefId>
</RefInfo>
</DetRs>
<DetRs>
<RefInfo>
<RefType>Sto...
I'm building a website to display products, and categories of products. The data comes from an external service in the form of a 500k XML file. The website is ASP.NET, C#.
The XML is structured as a list of categories. Inside each category might be some products and/or some more categories.
Obviously, we cannot call this external servi...
Background
I'm researching the efficiency of messaging within contemporary web applications, examining the use of alternatives to XML. This is a university project whose results will be released publicly - the greater the participation of the community, the greater the value of the results that are given back.
I need as many real-life e...
I have a fairly standard rails app and would like to be able to access the basic CRUD (Create, Update, Delete) operations as well as queries I have added, from an iPhone app. Rails provides the REST API for these operations more or less out of the box.
What is the best approach to deal with the REST/XML part on the iphone, and are ther...
Hi,
How can I change one value (attribute) in xml file, using C#/
Thanks,
...
Hi,
I'm trying to write some code to find a specific XmlNode object based on the URL in the XML sitemap but can't get it to find anything.
The sitemap is the standard ASP.net sitemap and contains:
<siteMapNode url="~/lev/index.aspx" title="Live-Eye-Views">
--- Child Items ---
</siteMapNode>
The code I'm using to search for the eleme...
We have a part of our application where our users can create objects containing html, javascript and css through custom made Wysiwyg components. Those objects are at some point serialized and later deserialized. However, since our users/clients are located all over the globe, they sometimes input characters that cause grievance during de...
We're embarking on a new middle tier service that will allow internal client systems to create and update and query records in some underlying data stores. The service will aggregate as many as 3 seperate underlying datastores. For the purposes of this question assume:
Data store #1: Proprietary XML Database.
Data store #2: Off the ...
Hi all, I'm interested in assigning the tag name of the root element in an xml document to an xslt variable. For instance, if the document looked like (minus the DTD):
<foo xmlns="http://.....">
<bar>1</bar>
</foo>
and I wanted to assign the string 'foo' to an xslt variable. Is there a way to reference that?
Thanks, Matt
...