Questions tagged [omnixml]

OmniXML is an open source XML parser for Delphi, Turbo Delphi and Kylix.

The OmniXML is an open source XML parser written in Delphi by Miha Remec, Primož Gabrijelčič and contributors. It supports Delphi, Turbo Delphi and Kylix and is compatible with MS XML parser. It provides easy, fast and efficient way for XML parsing of documents in different code pages.

Latest release you can download here.

20 questions
11
votes
2 answers

store xml inside xml

Using OmniXML package, is it possible to store XML code inside another XML file that has its own XML data? Like this:
none
  • 4,669
  • 14
  • 62
  • 102
10
votes
1 answer

What happened to OmniXML?

There seems to be a great deal of enthusiasm about OmniXML, but omnixml.com is offline and the Google Code project is empty. What happened to this library and where can I find the code (since it's open source)?
Thijs van Dien
  • 6,516
  • 1
  • 29
  • 48
3
votes
1 answer

How to delete specific node in omnixml delphi

i've read this answer but i don't know how to use that sample in my case. I have an xml file 321
Erwan
  • 202
  • 3
  • 10
3
votes
2 answers

How to insert xml prolog using SimpleStorage to generate gpx file?

I plan to adopt once and for all handy a tool for handling the creation of gpx files. I believe SimpleStorage which is a OmniXML based storage suited for easy XML data management, data storage and data interchange beetween systems fits it. Here is…
menjaraz
  • 7,551
  • 4
  • 41
  • 81
3
votes
1 answer

omni xml , is there a simple current example for reading xml file?

Looking for readable example use of Omni Xml package. the documentation now is 2 examples, for loading and writing, nothing about reading, nor iterating. could you provide a simple reading Xml ,example of one repeatable property such as…
none
  • 4,669
  • 14
  • 62
  • 102
3
votes
2 answers

Delphi XE & OmniXML: Using SelectNode()?

I've got the following XML snippet as part of a larger XML file that I'm processing using the latest OmniXML snapshot:
afrazier
  • 4,784
  • 2
  • 27
  • 30
3
votes
1 answer

Can OmniXML Deserialise an object containing a list of objects?

So for example how to serialise an object like this: unit u_Configuration; interface uses Classes, Generics.Collections, OmniXML, OmniXMLPersistent ; type TMyObject = class (TPersistent) strict private fName : String; …
sav
  • 2,064
  • 5
  • 25
  • 45
2
votes
1 answer

Using OmniXML and Delphi, how do I locate an element by its attribute and change another element in node?

Using OmniXML and Delphi, I would like to locate an element and change another element in the node. For example, in the xml listing below, I would like to locate /first-name = 'Joe1' and then locate and change the /price from 1200 to 10. I've tried…
2
votes
2 answers

How to delete a child node using OmniXML?

I'd like to delete the line with pathid="2" in the rowpath section...
azrael11
  • 417
  • 6
  • 18
2
votes
3 answers

How to create simple XML in OmniXML

i want to create this structure xml when i do the main structure i get the…
azrael11
  • 417
  • 6
  • 18
2
votes
1 answer

how to process a xml node text up to the first subnode and after the last one?

Normal text bolded finish normal text

Im processing that xml (example reduced) with OmniXML (but I believe the solution will apply to other XML parsers). Im traversing the xml and everytime I process a p or b tag I change some…
pragmatic_programmer
  • 3,566
  • 3
  • 29
  • 36
2
votes
1 answer

Adding line break in NodeAttributes in OmniXML

I have an XML where I have several attributes for one node: var row : IXMLNode; rowattr : IXMLAttr; xml : IXMLDocument; begin xml := ConstructXMLDocument('xml'); SetNodeAttr(xml.DocumentElement, 'version', '1.0'); …
SovereignSun
  • 184
  • 1
  • 10
2
votes
1 answer

Adding ? Sign to XML.DocumentElement

I'm working with Delphi 7 and OmniXML and am trying to create a document and I need to have the DocumentElement be: But I can't understand how to add the last ? sign. My code: var xml: IXMLDocument; …
SovereignSun
  • 184
  • 1
  • 10
2
votes
1 answer

OmniXML on iOS: Invalid Unicode

I recently switched to use the OmniXML included with Delphi XE7, to allow targeting iOS. The XML data comes from a cloud service and includes nodes with base64 encoded binary data. Now I get this exeception "Invalid Unicode Character value for this…
Hans
  • 2,220
  • 13
  • 33
2
votes
1 answer

How to use OmniXML parser in THTTPRIO for my SOAP client

I read on Embarcadero's "What's New in Delphi and C++Builder XE7" page here about SOAP support with OmniXML. New Cross-Platform XML Vendor that Improves Performance In addition to MSXML and ADOM, RAD Studio now provides a new XML vendor:…
Lars
  • 1,428
  • 1
  • 13
  • 22
1
2