xml

Flash AS2 , XML doesn't accept HTML inside?

A simple as2 flash app. that is reading an XML file. Here is the Flash AS2: function loadXML(loaded) { if (loaded) { _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue; _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue; name_txt.text = _root.inve...

Tool to apply XSL to XSD?

I have an XSL file and an XSD file on my local disk. The XSL file is supposed to transform the XSD file to OWL format. What freeware tool can I use apply this transformation? Thanks. ...

How to read twitter feeds C#

Hi, I've used this example to retrieve my twitter feeds however it has an error "The remote server returned an error: (400) Bad Request." ...

Need to parse a xml string

Hi I need to a parse an xml string(.NET, C#) which , unfortunately, is not well formed.. the xml stream that i am getting back is <fOpen>true</fOpen> <ixBugParent>0</ixBugParent> <sLatestTextSummary></sLatestTextSummary> <sProject>Vantive</sProject> <ixArea>9</ixArea> I have tried using a xml reader, but its crashing out because it...

removing root nodes from xmls in t-sql and merging them

I'm actually planning on the best way to merge xml data from within the SQL database. I have a table that contains an xml datatype. Inside it are xml's with similar schemas. I wanted to merge, let's say, two xmls and they both contain a <Custom></Custom> root on both ends. What is the best way to do this? First xml: <Custom> <Dat...

NULL elements in FOR XML Clause / Alternative to XSINIL

I have some legacy code similar to: ... '<field1>' + case when field1 is null then '' else cast( field1 as varchar ) end + '</field1>' + ... Which generates the following XML for empty elements: .... <field1></field1> ... And I'm replacing the query with FOR XML: SELECT field1, ... FOR XML RAW, ELEMENTS Now, ...

How to create a List with XML DOM Parsed Data

Hi, How to create a List with XMLParsed Data ... In XML one text tag Having 7 Attributes And I have to Display them in a List. Parsing is done By DOM. private void DownloadLINK(String URL) { TextView display = new TextView(this); InputStream in = null; try { in = OpenHttpConnection(URL); Document doc = null; DocumentBuilderF...

How to pass an object to the constructor through castle windsor?

Hi, I am building an object through castle windsor and my constructor accepts an argument of a custom type. How do I pass it to my object. public class ArgumentClass { int value1; string value2; } public interface IInterface { } public class CClass : IInterface { public CClass(ArgumentClass arg) { } } All my configuration is...

Performance Optimizations for the XML Data Type in SQL Server 2005

What are the topics for optimizing the performance for query in XML Data Type in SQL Server 2005? ...

Practical way to encode binary data in XML files meant for editing by hand?

I need to edit some nasty binary files in proprietary format, so I wrote a converter between this binary format and XML. Now I can edit interesting bits, but unfortunately this format embeds a lot of raw binary data - I need to keep it where it is (or otherwise reinsert on conversion back), but it's not meaningfully editable anyway so I ...

How to send e-mails from a shell script, including file attachments in windows?

Right now I'm using mutt in the automation. I need proper instructions and details for using mutt in windows(compatibility,patches/packages needed,etc.) ...

Add nodes to an xml at runtime?

I am writing an application that must update parts of an already existing xml file based on a set of files in a directory. An example of this xml file can be seen below: http://izpack.org/documentation/sample-install-definition.html In the below scope a list of files is added and its specified if they should be "parsable" (used for par...

How I can repeat an action X times with XSLT

I've to populate a total of 20 elements with XSLT. In my XML code I have a <select> with the values, there is anyway to not to write 20 forms? My XML: <output> <select> <id>1</id> <name>One</name> </select> <select> <id>2</id> <name>Two</name> </select> <select> <id>3</id> ...

XML serialization using XStream - Problem with unmarshal

The DTO structure is like below- class VO { Map<String,DTO> values; } class DTO { Map<String,String> details; } I am using XStream to convert the above DTO to XML and back to DTO Without using any user defined converters in XStream, the converted XML looks like below- <VO> <values> <entry> <string>input 123</string> ...

How to store duplicate data from xml file in C#

I'm having an xml file like <Root> <Child val1="1" Val2="0"/> <Child val1="1" Val2="2"/> <Child val1="1" Val2="3"/> <Child val1="1" Val2="4"/> <Child val1="1" Val2="5"/> <Child val1="6" Val2="0"/> <Child val1="7" Val2="0"/> </Root> i need to store the data in any temporary storage ( namely a Dictionary) for some sort of manipul...

Parse html/text document as XML?

Hello! How can i parse a document with a text/html header as a xml document with jQuery? Thanks in advance ...

Can't find file

Hi! I'm working on a custom menu system in asp.net that populates a horizontal menu on the fly based on which menu item is selected from the website's main menu. This 2nd menu is populated from a custom XML file in the website's root directory. (See http://loganyoung.wordpress.com/2010/06/03/asp-net-horizontal-submenu-from-xml/ for det...

Building a webservice with XML?

XML Webservice: the webservices takes in an XML request and responses with a XML response. im not sure if im doing the right thing for the request? With the XML request, do i take the XML request from the page input parameter? Example http://api.domain.com/webservice/xmlExample1.aspx?xml=&lt;Example1&gt;&lt;FirstName&gt;David&lt;/Fir...

Pagination and Data buffering in Windows Application using C# 2005

Requirement .NET Windows application using C# interacts with Oracle DB for retrieving and saving data Issue With huge volume of data, the performance is slow and the memory usage is high, the application displays the entire data in the screen. Response time is high due to database call and client side data processing Proposed Soluti...

Unable to append xml value as a child of XPATHNavigaotr, It just copies the strucutre and no value

Hello I have 2 XPathNavigators : XPathNavigator a XPathNavigator b In an inner loop i am assigiging values to "b" and then at the end of each iteration, I want to assing innerxml of "b" to the innerxml of "a"; a.InnerXML+=b.innerXML; But when I do this, its just copying the xml strucure of b without values. I even tried with appe...