I've created a data structuring format (you can't really call it a
markup language), that behaves like XML, but that's much more
flexible. You can have elements without names, attributes without
names, you don't need something like CDATA or entities, and there's no
such thing as DTD.
Now I'm looking for an interesting name for it. I've thought of using
a name like *ML (replace the * by any letter), but all the letters
were already taken.
Now I think I might not use an acronym: there are already too much of
them. So I'm looking for a symbolic name, perhaps an animal name.
The format is a lot smaller than XML, less verbose but still
human-readable. It's optimized for small files, fast and small parsers
and intelligent usage.
Can anyone help me? 16 2031
WTFML?????????? ???
:)
just kidding....
just came to my mind and i though i must say it!
hehe
:)
"Tommy Carlier" <to***********@ pandora.be> wrote in message
news:e3******** *************** ***@posting.goo gle.com... I've created a data structuring format (you can't really call it a markup language), that behaves like XML, but that's much more flexible. You can have elements without names, attributes without names, you don't need something like CDATA or entities, and there's no such thing as DTD.
Now I'm looking for an interesting name for it. I've thought of using a name like *ML (replace the * by any letter), but all the letters were already taken.
Now I think I might not use an acronym: there are already too much of them. So I'm looking for a symbolic name, perhaps an animal name.
The format is a lot smaller than XML, less verbose but still human-readable. It's optimized for small files, fast and small parsers and intelligent usage.
Can anyone help me?
Tommy Carlier wrote: I've created a data structuring format (you can't really call it a markup language), that behaves like XML, but that's much more flexible. You can have elements without names, attributes without names, you don't need something like CDATA or entities, and there's no such thing as DTD.
What use is it?
///Peter
Peter Flynn <pe***@silmaril .ie> wrote in message news:<bf******* *****@ID-163087.news.uni-berlin.de>... Tommy Carlier wrote: I've created a data structuring format (you can't really call it a markup language), that behaves like XML, but that's much more flexible. You can have elements without names, attributes without names, you don't need something like CDATA or entities, and there's no such thing as DTD.
What use is it?
What use is XML? Just like XML it is a general format that does
nothing else than provide structure to data.
Tommy Carlier wanted a name on his special brand of XML
Call it: TCML (Tommy Carlier Mysterious Language)
Regards
Kurt Svensson www.inobiz.com
Kurt Svensson <ku**@inobiz.se > schreef op 16 Jul 2003 07:23:57 -0700: Tommy Carlier wanted a name on his special brand of XML
Call it: TCML (Tommy Carlier Mysterious Language)
Regards Kurt Svensson www.inobiz.com
It's not really a special brand of XML, it's an alternative for XML.
XML looks like:
<?xml version="1.0"?>
<html>
<head><title>Ti tle of the document</title></head>
<body bgcolor="#FFFFF F">
<h1>A header</h1>
<p>
A paragraph with a horizontal line: <hr/>
</p>
</body>
</html>
In my language, the previous document would look like:
<xml version="1.0">
html
{
head { title { "Title of the document" } }
body ( bgcolor="#FFFFF F" )
{
h1 { "A header" }
p
{
"A paragraph with a horizontal line:" hr;
}
}
}
If you remove all unnecessary spaces, you get:
<?xml version="1.0"?> <html><head><ti tle>Title of the
document</title></head><body bgcolor="#FFFFF F"><h1>A header</h1><p>A
paragraph with a horizontal line:<hr/></p></body></html>
versus:
<xml version="1.0">h tml{head{title{ "Title of the
document"}}body (bgcolor="#FFFF FF"){h1{"A header"}p{"A paragraph with a
horizontal line:"hr;}}}
Doesn't seem that much more concise or easier to read.
Bob
P.S. That <xml version="1.0"> doesn't belong there.
P.P.S. To heck with trivial examples, let's see how the schema for XML
Schema looks in this language.
"Tommy Carlier" <to***********@ pandora.be> wrote in message
news:op******** ******@news.tel enet.be... Kurt Svensson <ku**@inobiz.se > schreef op 16 Jul 2003 07:23:57 -0700:
Tommy Carlier wanted a name on his special brand of XML
Call it: TCML (Tommy Carlier Mysterious Language)
Regards Kurt Svensson www.inobiz.com
It's not really a special brand of XML, it's an alternative for XML.
XML looks like:
<?xml version="1.0"?> <html> <head><title>Ti tle of the document</title></head> <body bgcolor="#FFFFF F"> <h1>A header</h1> <p> A paragraph with a horizontal line: <hr/> </p> </body> </html>
In my language, the previous document would look like:
<xml version="1.0"> html { head { title { "Title of the document" } } body ( bgcolor="#FFFFF F" ) { h1 { "A header" } p { "A paragraph with a horizontal line:" hr; } } }
If you remove all unnecessary spaces, you get:
<?xml version="1.0"?> <html><head><ti tle>Title of the document</title></head><body bgcolor="#FFFFF F"><h1>A header</h1><p>A paragraph with a horizontal line:<hr/></p></body></html>
versus:
<xml version="1.0">h tml{head{title{ "Title of the document"}}body (bgcolor="#FFFF FF"){h1{"A header"}p{"A paragraph with a horizontal line:"hr;}}}
What's easier to read:
<title>A title</title>
or
title { "A title" }
I think it's a little easier to read the second. And it's smaller, so
faster to transport and faster to parse. The BNF-notation of the
format is also a lot smaller and less complex than that of XML, so a
parser should also be less complex.
The language also has other features like elements with no name,
attributes without a name or a value, ...
It's much cleaner to work with lists and tables:
in XML/HTML a list would look like:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
In my format, you can write a list like:
ul
{
li { "Item 1" }
li { "Item 2" }
li { "Item 3" }
}
Because the children of a list are always LI-elements, you can leave
the name LI away, and because the elements only have 1 text-element as
a child, you can leave the { and } away too, so the code would look
like:
ul
{
"Item 1"
"Item 2"
"Item 3"
}
Now remove all the unnecessary spaces, and you get:
<ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul>
versus
ul{"Item 1""Item 2""Item 2"}
Think of what it can do to tables if you know that the children of a
TABLE-element are always rows (TR) and the children of rows are always
cells (TD).
Now I'm still looking for a name :)
is it still easier to read if you have a nesting of say 30 elements deep
sounds like a lot of
}}}}}}}}}}}}}}} }}
to me
which } closed the opening element?
Colin
"Tommy Carlier" <to***********@ pandora.be> wrote in message
news:e3******** *************** ***@posting.goo gle.com... What's easier to read: <title>A title</title> or title { "A title" }
I think it's a little easier to read the second. And it's smaller, so faster to transport and faster to parse. The BNF-notation of the format is also a lot smaller and less complex than that of XML, so a parser should also be less complex.
The language also has other features like elements with no name, attributes without a name or a value, ...
It's much cleaner to work with lists and tables: in XML/HTML a list would look like: <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>
In my format, you can write a list like: ul { li { "Item 1" } li { "Item 2" } li { "Item 3" } }
Because the children of a list are always LI-elements, you can leave the name LI away, and because the elements only have 1 text-element as a child, you can leave the { and } away too, so the code would look like: ul { "Item 1" "Item 2" "Item 3" }
Now remove all the unnecessary spaces, and you get: <ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul> versus ul{"Item 1""Item 2""Item 2"}
Think of what it can do to tables if you know that the children of a TABLE-element are always rows (TR) and the children of rows are always cells (TD).
Now I'm still looking for a name :)
"Tommy Carlier" <to***********@ pandora.be> wrote in message
news:e3******** *************** ***@posting.goo gle.com... What's easier to read: <title>A title</title> or title { "A title" }
I think it's a little easier to read the second. And it's smaller, so faster to transport and faster to parse.
Comm links usually have some kind of compression algorithm.
Zip both versions and see which is smaller, and by how much.
Compression squeezes repetition & xml tags tend to be repetitive. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Doe |
last post by:
Hi,
does anyone have a website that covers gtk.glade?
Thanks in advance.
Dan
|
by: Charles Law |
last post by:
Hi guys
A bit of curve ball here ... I have a document (Word) that contains a series
of instructions in sections and subsections (and sub-subsections). There are
350 pages of them.
I need to translate these instructions into something that can be processed
automatically, so I have used the Command pattern to set up a set of
commands that correspond to the various instructions in the document.
|
by: for.fun |
last post by:
Hi everybody,
I am looking for a XML comparison tool (I do not mean a standard
char-by-char diff tool but a tool which understand XML syntax)
More precisely, I can have serveral XML structures organized
differently. The XML nodes can store the same data but be organized
differently => in such a case, I would like the diff tool to tell me
that both XML files are identicals.
|
by: Rich Wallace |
last post by:
Hi all,
I have an XML document that my app will accept and the document may have
more than one 'record' in the document (bear with me, I'm fairly new to XML
lingo).
Incoming document:
-----------Beginning of XML-----------
<?xml version="1.0" encoding="us-ascii"?>
<!--Product data from JDEdwards-->
|
by: z. f. |
last post by:
Hi,
is there a sample code for a program that accept input xml file name, input xsl file name and output result file name and outputs the resulting xml?
TIA, z.
| |
by: james |
last post by:
What class / method should I be using to get the full path to
an embedded resource ? In my case I have an .xml file
that my app uses, it is set as embedded resource, and
I have a control that needs to load it, but I do not want to hard
code the path since that may change for different installs.
i.e. GetPathForResourceOfName ( myResourceFileName )
thanks,
JIM
|
by: enrique |
last post by:
Hello everyone,
I'm looking for a "directory path" solution that will allows me to test my
app locally and then test on remote web server without having to update my
web.config file each time I modify the file. In other words I'm storing the
paths (for centralizing purposes) as custom <appSettings> in the web.config.
expample (for local testing):
<add key="imagePath" value="http://localhost/app_folder/10_media/images/" />
|
by: Rodney Garland |
last post by:
Hi All,
I am a relative beginner to Python and am looking for help with sending and
XML message and getting back a return file. The server is:
https://node.deq.state.or.us/node/node.asmx
I have have successfully sent and recieved using the PING, AUTHENTICATE
(send in username and password and return a secuirity token), SOLICIT(send
in information for a query and get a number indicating the query),
|
by: mom_newbie |
last post by:
Dear all,
Could someone suggest a good WSDL reading, oriented for manual Web services
implementation?
There are plenty working ATL and .NET examples in Internet, but I have
troubles making a plain C++ ISAPI Web service.
I took the WSDL from:
|
by: lamagra |
last post by:
Hello all,
I first wanted to say that this is my first post and thank you for taking a look at it.
My question:
I am trying to write an XML Parser using the Lib:XML package. The problem that I am having is that I seem to not be able to parse the a "local name" searching for an xsi:type="test".
Here is an example of what I am looking for.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |