xml

Dynamic url in HTTPService not working

Hello and thanks in advance for any help you can provide. My AIR application queries a webservice to see what components to build. A sample of the XML returned is: <item> <type>EventList</type> <url><![CDATA[http://dashboard/cgi-bin/dataService.pl?type=ManagedEvents]]&gt;&lt;/url&gt; <index>4</index> <title>Index 4 eventlist</titl...

Dynamic navbar using XML for www links.

Okay I'm trying to make a navbar which is dynamically created when the flash movie starts, and the number of buttons and their links are defined by XML. So far, I've got the navbar making itself correctly and taking button names and number from the XML page. What I cant seem to figure out is how to have actionscript 3.0 take the link a...

Java DOM XML is skipping xmlns properties

Hi there, I need to generate an xml file in Java, so I chose to use DOM (until there everything is ok), here is the root tag of what i need to create <?xml version="1.0" encoding="utf-8"?> <KeyContainer Version="1.0" xmlns="urn:ietf:params:xml:ns:keyprov:pskc:1.0" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.o...

Reading large xml files one node at a time in Java with a pull parser?

I'd like to parse large XML files and read in a complete node at a time from Java. The files are to large to put in a tree. I'd like to use a pull parser if possible since it appears to be easier to program for. Given the following XML data Instead of having to check every event while using the StAX parser I'd like each c...

How do I load an external http xml request with jquery?

How do I load an external http xml request with jquery? Below is a url when pasted into a web browser like firefox, an xml document is shown. This is for the CPanel XML API. http://hostingz.org:2086/xml-api/createacct?username=WeAreWatching&amp;plan=hostingz%5FFH5&amp;ip=n&amp;cpmod=x3&amp;password=changeme&amp;contact email=contact.w...

WebMethod return a value and call other method in vb.net

I have a Web Service with one WebMethod for which return value is boolean. It accepts XML file as string and process data. How can I first return status as true and then call the ProcessData method. As the processing data takes time I need to return true first and then process the data. Please help. [webmethod] Public function receiv...

Whats a Good Example to Write XML using VB.net 2008.

Using this example how would I go about updating an XML file using this example: <foo> <n1> <s1></s1> <s2></s2> <s3></s3> </n1> <n1> <s1></s1> <s2></s2> <s3></s3> </n1> </foo> I Can read from it all day long but for the life of me I cannot seem to write it back into that format. ...

Deserializing empty xml attribute value into nullable int property using XmlSerializer

Hello, I get an xml from the 3rd party and I need to deserialize it into C# object. This xml may contain attributes with value of integer type or empty value: attr=”11” or attr=””. I want to deserialize this attribute value into the property with type of nullable integer. But XmlSerializer does not support deserialization into nullable ...

understanding xslt handling of elements with attributes

I'm having problems understanding xslt. In my source document I have to find the inner text from a <p> tag with the class attribute that is equal to "deck". In my source xml somewhere: <body> <p class="deck">Text here</p> ... ... cut ... ... ... In my xsl file <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0"...

Suppress Null Value Types from Being Emitted by XmlSerializer

Please consider the following Amount value type property which is marked as a nullable XmlElement: [XmlElement(IsNullable=true)] public double? Amount { get ; set ; } When a nullable value type is set to null, the C# XmlSerializer result looks like the following: <amount xsi:nil="true" /> Rather than emitting this element, I wou...

When Full Text Searching an XML column can you use XML Querying?

I am working on a database that is very localized, for example sake: Tables: Product - Has non localized columns (item number, created, etc) Product_Local - Has localized columns (description) and a language identifier column I am using SQL 2008 and full text searching requires for its word breakers that I set the language per column. ...

Generating HTML from XSL:FO using C#

We are using XSL-FO to generate PDF in our project. What we would also like to do is to generate HTML from XSL-FO for user's preview. Is there any way to do this using C#? ...

Transitioning from Scrubyt to Nokogiri- Write to XML or Hash?

I'm trying to transition this bit of code from scrubyt to nokogiri, and am stuck trying to write my results to either a hash or xml. In scrubyt it looks like the following: require 'rubygems' require 'scrubyt' result_data = Scrubyt::Extractor.define do fetch "http://rads.stackoverflow.com/amzn/click/0061673730" results "//d...

Synchronize Excel and XML data?

Hi, I've got an XML file which is a pain to manually update. So I was thinking of creating a small app which synchronizes this data for me based on data from an Excel Sheet or something. Could anyone point me in the right direction for this? Or does some software already exist for this purpose? The XML schema looks like this: <Data> ...

How to load, save and display data from GridView to XML?

How to load, save and display data from GridView to XML? Not XML file on the hard disk, but a temporary XML variable to save it all in a single field of XML type in a database. ...

Framework to Verify XSD with XML in Java

Hi all. I have an XSD and I want to verify incoming XML files from a webservice against that XSD for schema validation? Any suggestions or pointers for existing Frameworks in Java to do that? Help is appreciated in advance. Cheers ...

Create app.config file dynamically on Application startup

How can I create the app.config file programatically on Application startup (if the file doesnot exist)? ...

What should be the Subversion properties for a *.xml file?

What's the correct/best properties to assign to *.xml files in Subversion? I'm particularly interested in the properties svn:mime-type and svn:needs-lock. I think there are two answers, but I'm not sure about which one to choose. The first one is to consider XML files as text files, letting Subversion manage textual merges in them. For...

Java JAXB XJC code generation form XSD schema problem

Hello I have my own domain model and corresponding XSD schema for it. It consists of data types and messages that are exchanged in my application. I use XJC tool from Java JRE 1.5 for generation of Java classes for the given XSD schema. The generated classes do not contain neither the serialization/deserialization method nor the validat...

XML Schema: Different Element Names (sequence)

I think the solution to my problem is very easy, but i couldn't fint it So, here is: I have an XML which have a list of elements with different names, but in sequence. An example: <DOC> <DOC_OBL_1> <TIP_DOC_OBL>1</TIP_DOC_OBL> </DOC_OBL_1> <DOC_OBL_2> <TIP_DOC_OBL>2</TIP_DOC_OBL> </DOC_OBL_2> <DOC_OBL_3> <TIP_DOC_OBL>3</...