MAMEWorld >> News
View all threads Index   Flat Mode Flat  

motoschifo
MAME Fan
Reged: 07/09/15
Posts: 8
Loc: Italy
Send PM
Re: History.dat, the XML
12/31/20 07:39 PM Attachment: Schermata del 2020-12-31 18-41-52.png 82 KB (0 downloads)


This is a very good idea, I like the xml structure because it's more standard and flexible today.

You can simplify your xml by adding software and systems nodes without a parent, like Mame does.

Remember also to add the DTD at the top of xml and the CDATA attribute on every "text" node.
I don't know if you can add CDATA attribute on DTD only.

Example:

Code:




Nintendo Famicom cart. published 32 years ago...
]]>




Arcade Video game kit published 32 years ago:

'88 Games (c) 1988 Konami Industry Company, Limited.

Export release. Game developed in Japan by Konami. For more information, please see the original Japanese release entry: "Hyper Sports Special [Model GX861]".
]]>







...text...
]]>






EDIT: Sorry, I reply to the wrong post... the pre/quote/code block is render the text as html, I added an image as attachment

[ATTACHED IMAGE]

Attachment

Edited by motoschifo (12/31/20 07:43 PM)







Entire thread
Subject Posted by Posted on
* History.dat, the XML Alexis B. 12/29/20 11:21 PM
. * Re: History.dat, the XML soviet  12/31/20 03:02 PM
. * Re: History.dat, the XML motoschifo  12/31/20 07:39 PM
. * Re: History.dat, the XML Vas Crabb  12/30/20 07:10 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 03:05 PM
. * Re: History.dat, the XML Vas Crabb  12/30/20 03:28 PM
. * Re: History.dat, the XML Alexis B.  12/30/20 03:32 PM
. * Re: History.dat, the XML Vas Crabb  12/30/20 03:51 PM
. * Re: History.dat, the XML Alexis B.  12/30/20 04:18 PM
. * Re: History.dat, the XML Vas Crabb  12/30/20 04:28 PM
. * Re: History.dat, the XML Alexis B.  12/30/20 07:16 PM
. * Re: History.dat, the XML Vas Crabb  12/31/20 05:08 AM
. * Re: History.dat, the XML Alexis B.  12/31/20 08:46 PM
. * Re: History.dat, the XML crazyc  01/01/21 12:03 AM
. * Re: History.dat, the XML Alexis B.  01/01/21 02:23 AM
. * Re: History.dat, the XML Vas Crabb  01/01/21 03:11 AM
. * Re: History.dat, the XML Alexis B.  01/01/21 03:21 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 05:19 PM
. * Re: History.dat, the XML agard  12/30/20 04:16 AM
. * Re: History.dat, the XML Alexis B.  12/31/20 02:26 PM
. * Re: History.dat, the XML StilettoAdministrator  01/01/21 01:01 AM
. * Re: History.dat, the XML crazyc  12/30/20 01:15 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 02:07 AM
. * Re: History.dat, the XML RaspBear  12/30/20 08:53 AM

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
1 registered and 130 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1367