* * *

Author Topic: Save form in XML format  (Read 1907 times)

Groffy

  • Full Member
  • ***
  • Posts: 197
Save form in XML format
« on: November 15, 2017, 08:16:31 am »
Just curious, somebody using this fuctionality? What is it good for? AFAIK its not possible to change the form file format to XML. Am I wrong?

Regards
Linux Mint 18.3 - KDE / Windows8 / Lazarus 1.8.4 / trunk -qt

Thaddy

  • Hero Member
  • *****
  • Posts: 7137
Re: Save form in XML format
« Reply #1 on: November 15, 2017, 10:46:26 am »
Just write some XSLT to achieve that, but why? XML is so last century.... (I must have some code lying around for that, though)
inline variables like in D10.3 are a bit like Brexit: if you are given the wrong information it sounds like a good idea. Every kid loves candy, but it makes you fat and your teeth will disappear.

Leledumbo

  • Hero Member
  • *****
  • Posts: 7971
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Save form in XML format
« Reply #2 on: November 15, 2017, 02:27:08 pm »
I'm curious, too. That feature has been in the IDE since ages, but I never know what it is good for.

Groffy

  • Full Member
  • ***
  • Posts: 197
Re: Save form in XML format
« Reply #3 on: November 15, 2017, 02:56:43 pm »
XML is so last century....

*.lfm format is antique, proprietary and non standard (is there an officialy definition??) but still exists out of legacy reasons. My question was about, why somebody implemented an xml-export without having the option to manage forms in Lazarus projects with an xml definition file as default?


Best regards
Linux Mint 18.3 - KDE / Windows8 / Lazarus 1.8.4 / trunk -qt

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus