xml

Find element with attribute with minidom

Given <field name="frame.time_delta_displayed" showname="Time delta from previous displayed frame: 0.000008000 seconds" size="0" pos="0" show="0.000008000"/> <field name="frame.time_relative" showname="Time since reference or first frame: 0.000008000 seconds" size="0" pos="0" show="0.000008000"/> <field name="frame.number" showname="Fr...

Actionscript 2.0, Having a SendAndLoad() function Issue

I have this code: btn_jouer.onRelease = function () { verif = txt_email_user.text; if (txt_email_user.text == "") { txt_erreur.textColor = 16724736; txt_erreur.text = "Champ(s) manquant(s)"; } else if (verif.indexOf("@", 0) == -1 || verif.indexOf(".", 0) == -1) { txt_erreur.textColor = 167...

How to make XMLTextWriter and XMLWriterSettings work together

I have this code for the settings: Dim settings As XmlWriterSettings = New XmlWriterSettings() settings.Indent = True settings.OmitXmlDeclaration = True settings.NewLineOnAttributes = True Then I have this code for the writer: Dim xml As New XmlTextWriter(Server.MapPath("output.xml"), enc) Please...

What is the XML spec for importing into Microsoft Project?

From our existing, internal tracking system I would like to create an XML export that I can then bring into Microsoft Project 2007 to further display and manipulation. I've been unable to find a straightforward explanation of how the XML should look for this kind of import. I want to be able to create dependencies, assign resources, et...

How to avoid the annoying new line generated at SendAndLoad();

Hi to all, Please is there any workarround to avoid the new line generated while sending data using SendAndLoad(); in AS2 ? I send "00:00:12:36" But php output: 00 :00 :12:36 Any help?? ...

Creating an XSD schema

I have an xml tag: <ROW field1="value 1" field2="value 2" ... /> fieldi has a string value, and number of attributes fieldi is variable, but not less than 1. Is it possible to create an xsd schema for this tag? possible xml document <ROWDATA> <ROW field1="dfgdf" field2="ddfg"></ROW> <ROW field1="dfedf" field2="djkfg" field3="c...

List Item background is changing on scroll

I have a background color applied to a ListView <style name="CKButtons"> <item name="android:windowBackground">@color/window_background</item> </style> but everytime the list is scrolled the background color changes back to the system default (black). When the scrolling stops the color goes back to @color/window_background. The ...

C# DataSet To Xml, Node Rename

Hi All; DataSet ds = GetExcelToXml("test.xls"); string filename = "C:\\test.xml"; FileStream myFileStream = new FileStream(filename, FileMode.Create); XmlTextWriter myXmlWriter = new XmlTextWriter(myFileStream, Encoding.Default); ds.WriteXml(myXmlWriter); myXmlWriter.Close(); Output Xml <NewDataSet> <Table> <UserName>bla...

Extract DRL from DSLR

How can I access the DRL generated within a DSLR file in Drools? ...

XML response in Flash

I have a flash file that displays the server respone on screen. The respone is in XML format. When I use this code: statusText.text = xmlResponse; I get result on screen like %3%20xml etc. What 's wrong with that? I tried the methods toString() and text() but nothing worked ...

How to create JQuery async Treeview without PHP

I'm using the JQuery Treeview plugin to display a folder tree. The branches of the tree are provided in an XML file, provided by Livelink. For performance reasons, the tree is initially populated with 2 levels. So far, no problems. I have successfully created the Treeview for the first two levels. Now I need to be able to asynchronoulsy...

XmlSerializer.Deserialize() is too slow with files over 1MB - .Net compact framework 3.5 sp1

Hi, I got a XML schema for which I used xsd.exe to generate a Class FooClass. I am receiving xml requests from host which I get them from a directory and use the XmlSerializer.Deserialize() to get a Instance of my FooClass. Well, this worked till now perfectly and it still does, but suddenly I started to get XML files which are larger...

Why qualify global elements in instance document?

When validating an xml document using xml-Schema and namespaces, the instance document has to have its global element prefixed with a namespace to qualify it, besides declaring the namespace itself. One would think that a default namespace would suffice in this case to qualify the element, but xml-Schema apparently has another opinion. ...

Ignoring container elements through JAXB customization.

Hi all I am struggling with a simple JAXB customization issue. I have an schema like this. (its actually a snippet of Bing Maps Web Services schema) <xs:complexType name="GeocodeOptions"> <xs:sequence> <xs:element minOccurs="0" name="Count" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="Filters" nillable="tr...

Spring context XML validator for eclipse?

Hi, Is there any way to validate spring context xml files in eclipse? Features like: Validate class attribute of bean Validate bean references Validating with autowireing perhaps? We're not working with annotations on current project unfortunatly. I dislike the current workflow: "deploy it and get a nullpointer for a classname typo"...

InvocationTargetException on inflating an xml - android

Hi I have a code that works 99% of the time since is deploy in lots of clients, but sometimes I get the following: java.lang.reflect.InvocationTargetException android.widget.LinearLayout.(LinearLayout.java:92) java.lang.reflect.Constructor.constructNative(Native Method) java.lang.reflect.Constructor.newInstance(Const...

SAX Parser and XML Schema (XSD) validation

Which Java XML libraries can do SAX-based parsing and validation against an XML Schema (XSD) at the same time? I'm really looking for the most efficient solution for reading and validating large XML files. bonus points if you can provide sample code. ...

Google Custom Search Engine (CSE) API

I am trying to integrate a site search feature into a client's site. I've created an test search engine with Google Custom Search, but I can't sort out how to make it work with the following criteria: The search form posts back to the site The POST page uses an API to get the result back from Google I display the results within my sit...

how to determine count of tag

I have a bit of xml file named Sample.xml which is shown below <?xml version="1.0" encoding="ISO-8859-1"?> <countries> <country> <text>Norway</text> <value>N</value> </country> <country> <text>Sweden</text> <value>S</value> </country> <country> <text>France</text> <value>F</value> </country> <country> <text>Italy<...

How to get the information and sort, a subset of elements with only identifiers using XSLT?

Hi, I'm new to XSLT and I can't resolve the following problem: I have a xml file like this: <root> <subset> <e id="A"></e> <e id="C"></e> </subset> <data> <info id="A" order="3" name="ANode"></info> <info id="B" order="4" name="BNode"></info> <info id="C" order="1" name="CNode"></inf...