Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Is XML compression possible by U++ library call? ([Question])
icon5.gif  Is XML compression possible by U++ library call? [message #43226] Tue, 10 June 2014 20:44 Go to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I would like to ask is there any way to compress XML in U++ by simply library call?

Suppose I have something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<MyXML>
    <Data>
        ...
    </Data>
</MyXML>


And I would like to have:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><MyXML><Data>...</Data></MyXML>


This task is not trivial and we can't write simply: "xml.Replace("\n", "") and xml.Replace("\t", "")". If internal tag possess this two characters then we will lose them.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Tue, 10 June 2014 20:46]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Previous Topic: C++11: Vector is missing copy contructor/assignment operator
Next Topic: FIX FindBest in Algo.h
Goto Forum:
  


Current Time: Sun Apr 28 16:00:10 CEST 2024

Total time taken to generate the page: 0.05500 seconds