xml

IPhone- Rss sample code, modify to display images... PLease help!!!

Hi! I am trying to make app that displays an RSS feed, with text and images into a table, but I am really struggeling with it! I found a really good [sample code-project][1] that i can really recommend-- but im struggeling getting it to display images in the tablecells instead of only text I would be reeeeally happy with any help!! ...

Default namespace when created xml document

Is it possible to create children using XmlDocument.CreateElement() and XmlNode.AppendChild() without specifying the namespace and have it use a "default" namespace? Currently, if I create a root node with a namespace and don't specify the namespace on the every childnode, the output xml will define a blank namespace. Below is what is ...

How does one get about converting an excel file to an XML file given a specific schema?

Is this something I need to write or something already exists. Google is pulling up a bunch of junk. ...

Explanation of JAXB error: Invalid byte 1 of 1-byte UTF-8 sequence

We're parsing an XML document using JAXB and get this error: [org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence.] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315) What exactly does this mean and how can we resolve this?? We are executing the code as: ...

In Python ElementTree how can I get list of all ancestors of an element in tree ?

I need "get_ancestors_recursively" function. A sample run can be >>> dump(tr) <anc1> <anc2> <element> </element> </anc2> </anc1> >>> input_element = tr.getiterator("element")[0] >>> get_ancestors_recursively(input_element) ['anc1', 'anc2'] Can somebody help me with this ? ...

jquery XML .html() instead of .text() is not displaying?

I can't seem to figure out this problem. I am trying to get xml to render html tags. The problem I am having using .text() will display but not recognize any html tags. If I use .html() or just call var long2 = $(this).find('long'); nothing will show up in Safari or IE. I have xml paragraph I have text in here that needs bold tag...

PowerShell: How to add XmlElement to a non-root element

I'm having trouble adding an XmlElement to a non-root element in PowerShell. Basically, given this xml: <clubs> <club name="boca" position="1"> <field>bombonera</field> <field>bombonerita</field> </club> <club name="racing" position="19"> <field>cilindro</field> ...

Find element all of whose children have a given value

for example, i have this xml <elements> <a> <b>6</b> <b>5</b> <b>6</b> </a> <a> <b>5</b> <b>5</b> <b>6</b> </a> <a> <b>5</b> <b>5</b> <b>5</b> <b>5</b> </a> </elements> i need a xpath query, which must return me parent tag, only if all its children are equal to 5 (a[3] in this case). ...

xml to xsl transformation

Hi, I have a requirement to extract the uniquie values from the different nodes of the given xml using xsl transformation. XML FILE:- <?xml version="1.0"?> <docdef version="4.0" styleset="1195000082"> <arg name="CommJob" type="Th_1235000130*_CommJob" required="True" /> <arg name="AddresseePersonInformation" type="...

question on rss feed application

Hello Guys i just want to create a simple application that will allow a user to input a url to a rss feed and display the contents to a user. what would be a good java library to enable me to read rss feeds? cheers ...

How to insert a xml node as first child in another xml document in java?

for eg. root= <root> <param value="abc"> <param value="bc"> </root> NodeToInsert= `<insert><parameterDesc>afds</parameterDesc></insert>` The output should be = <root> <insert><parameterDesc>afds</parameterDesc></...

Generate xml containing animation information from ms ppt 2003/07 file

I am planning to write an application which has UI from MS ppt.Here is where all the animation will be configured. My application will just read xmls containing animation configuration and run it on a target device(Cannot mention details w.r.t device right now ,apologies for that) Not necessary that i want xmls it self but if there is a...

Android app works on emulator but not on phone ("Can't dispatch DDM chunk XXXX: no handler defined")

Hey all, I made a very simple application to start playing around with Android development. It works fine on the emulator, but it gives me the following error when I try to install it on my HTC Hero (v1.5): Sorry! The application Simple Dial (process com.foo.simpledial) has stopped unexpectedly. Please try again. (Force Close button)...

How to style HTML compatible tags in XSL definition using extenal CSS?

I am following w3c schools to learn XSLT. in An example. In-line styling is performed here. How can I link an external (CSS) style sheet to style HTML compliant tags? ...

Generate xml from dataset using xsd in C# at runtime

Hello, I want to generate an XML file according to the xsd given at runtime. I have dataset which would be used to fill up the values. Can anyone tell me a simple solution? Also, my xsd file is very big and has complex types in it. and I dont want to try any third party tools. Its urgent. Please help. ...

Modifying SQL XML сolumn

I have an XML column in one of my table. For example I have an Employee table with following fields: Name (varhcar) | Address (XML) The Address field is having values like <Address> <Street></Street> <City></City> </Address> I have some n number of rows already in the table. Now I want to insert a new node - Country to all the rows...

Replace XML bullet points found in feed in classic ASP

Hey I am currently reading in a XML file which contains bullet list in the following container i.e.  the average pension contribution rate for executive directors . I am having a problem with symbol directly before the text of each bullet point I want to remove it i.e Replace(text,"old","new") but i cant seem to find what value that b...

Specifying the Encoding format on XMLDoc

i have the System.Xml.XmlDocument object. I want to change the xml Encoding from UT16 to UTF8 how do i do it? ...

HELP with XML to XML transformation using XSLT.

Am a rookie trying XSLT and XML tranformations for the first time. To start off, i tried a simple sample programs. I expected the Output in Tree format (maintaining the hierarchy) instead i just get " KING" in single line... What could be the problem? PS: I use XMLSpy. Any guideline would be great full. Thanks :) Input XML: <ROWSE...

How to save a the content into the file with neat alignment?

Hi Friends, I am having a textbox, in that i have loaded a xml file. After editing and saving the xml content into the xml file, the content is not in the right formate. While loading again, its not in the xml format How to save a the content into the file with neat alignment? Please help me For ExampleI need to save like the following ...