xml

any code snipt or plugin(jquery) for xml string(not xml file) parse ?

i want to manipulate xml data simple .. thanks ...

what is the difference between json and xml

what is the difference between json and xml ...

How to write xml schema for this xml file

<?xml version="1.0" encoding="utf-8" ?> <ConnectionConfig> <Machine Ip="192.168.0.7"> <ConnectionString>Data Source=TWO;Initial Catalog=Freight;User ID=sa;Password=f5tech</ConnectionString> </Machine> </ConnectionConfig> ...

XML Serialization and Soap Serialization

Hi I think even if we will not need interoperability between applications, and even we do not communicate with web services, it is easier to serialize using SoapFormatter than XmlSerializer because SOAP will serialize the private members by default, while XmlSerializer will work on public properties and fields. actually I cannot find a...

XML Pretty Printer Missing 2 Key Edge Cases

Using this xslt file found on this blog to pretty print xml using Nokogiri, everything almost works, but to the point where I can't use it for HTML. First, if a node is empty, it turns it into a self closing node, so: <textarea></textarea> gets converted to <textarea/> But that messes up the html tree when rendered. Second, if th...

Processing xml file VS. processing excel file from .Net

Hello All, I would like to ask what should be faster: reading excel file from .Net or reading xml file which contains the same data. The same is for writing. Thank you very much in advance. mayap. ...

Unqualifing a xml in c#

Hello, Is there an smart way of unqualifing (clean namespaces references) a XML in c#? All the xml references the same schema. Thanks in advance. ...

Optional Fields in InfoPath; Getting the XML node with VB

I use VB to get data through my form. I have some optional fields in my form and I have a problem with the following code: MsgBox(myXPathNavigator.SelectSingleNode( _ "/my:Status/my:Questions/my:Questions1", Me.NamespaceManager _ ).IsNode.ToString) When the optional field 'Questions1' is inserted into the form I get the value 'true'...

XML construction in C#

Currently i need to construct and update large xml files. So what is the best C# xml parser to create or update the xml files? I heard about LINQ in c#, can this be used? ...

How can I save and read from XML the new C++ style matrix objects in OpenCV?

The old, C style cvMat matrices could be passed to the cvSave() function for easy writing to an XML file. The new C++ style cv::Mat and cv::Mat_ matrices are not accepted by this function. The OpenCV reference has a section on XML persistence, but the three classes (FileStorage, FileNode and FileNodeIterator) lack any description or exam...

Display part of an XML file while parsing it

Hey, Consider the following XML file : <cookbook> <recipe xml:id="MushroomSoup"> <title>Quick and Easy Mushroom Soup</title> <ingredient name="Fresh mushrooms" quantity="7" unit="pieces"/> <ingredient name="Garlic" quantity="1" unit="cloves"/> </recipe> <recipe...

How to reverse childnodes of a XML nodes using C#

I want to set reverse order of child nodes of given XML nodes. How to do this??? <Parent> <Child1> </Child1> <Child2> </Child2> </Parent> OUTPUT: <Parent> <Child2> </Child2> <Child1> </Child1> </Parent> EDIT: I have simple XML file like above. XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(value); XmlElement docE...

Converting a Table in Oracle Database into an XML file

Hi, I need to create XML file, given a table/view in the Database. The actual requirement would be: The code has to get the table/view name as input parameter, read the schema of the same, create a corresponding XML file with the same structure as that of the table/view, and load the XML with the data of the table/view. Language preferr...

How to Remove Top-level bookmarks from PDF using LiveCycle?

Hey fellow LiveCycle users (the few of you), I have been using the MTOM .NET API for LiveCycle development and I'm running into one limitation that I hope can be overcome: I need to be able to programmatically remove all top-level bookmarks from a PDF, and have all nested bookmarks get automatically moved up one level as a result. For i...

XML to PDF best approach?

I have some xml files which are used to generate my webpages, however I need to be able to allow the user to select a number of pages then combine them into one PDF. This pdf needs to have different styling to the actual web page.(the content is kept in xml files ;) p.s. the pdf must have table of contents... and will include images tak...

How to send raw XML in Python?

Hi, I am trying to send raw xml to a service in Python. I have a the address of the service and my question is how would I wrap XML in python and send it to the service. The address is in the format below. 192.1100.2.2:54239 And say the XML is: <xml version="1.0" encoding="UTF-8"><header/><body><code><body/> Anyone know what to do?...

How to specify the order of XmlAttributes, using XmlSerializer

XmlElement has an "Order" attribute which you can use to specify the precise order of your properties (in relation to each other anyway) when serializing using XmlSerializer. Is there a similar thing for XmlAttribute? I just want to set the order of the attributes from something like <MyType end="bob" start="joe" /> to <MyType star...

Synchronizing the sqlite database on Android to a Sybase database on server

I'm currently developing a Field-Service application that stores data in the local sqlite database on an android device. At some point, usually after completing the data collection rounds, the local sqlite db is to be synchronized to a remote sybase db on the server. Any suggestions as to how this could be achieved or engineered as a so...

Nested Data XML design

Looking to nest (to unlimited levels) elements in XML. Like so: <items> <item> <name>Item One</name> <item> <name>Item Two</name> </item> <item> <name>Item Three</name> <item> <name>Item Four</name> </item> <!-- etc... --> </item>...

Saxon PDF tutorials?

Does anyone know a good set of Saxon XML, XSLT, PDF (link text) tutorials for .net? ...