Find out what the EMCCV is all about!

trending_flatPurpose- What's the use?
trending_flatHistory- What came before?
trending_flatPlans- What's coming next?
trending_flatThe Team- Who's behind it?

All you need to get creative!

trending_flatThe Prototype- While the EMCCV is still in development you can play with the prototype. Get it here!
trending_flatSailorXv3- The latest Sailor Senshi Generator of the SailorX family in its original format as well as the new and improved EMCCV format.
trending_flatAFHP- All about the Adult Female Humanoid Portrait module
trending_flatAFH- All about the Adult Female Humanoid module

Can't get enough? Create your own content!

trending_flatGetting started- Find out what you need and where to begin.
trending_flatGraphics Primer- Find out how to prepare your graphic files.
trending_flatXML Primer- The nitty gritty: how to write your config file!
trending_flatReference- An overview of all the possibilities within the config file!

This part is dedicated to all those little helpers out there - THANK YOU!

trending_flatSupporters- A list of all who have supported the EMCCV project so far!
trending_flatGet involved!- Find out what you get do to help!
linkPatreon- Our Patreon campaign.
linkIndieGoGo- Our IndieGoGo campaign.

Manage your creations online and get in contact with other creative types!

linkSailorX.com- The original Website for the SailorXv3 Sailor Generator!
linkDeviantArt Account- The SailorXv3 account where you'll get all the SailorXv3 previews first!
linkDeviantArt Group- A deviantArt group for viewing and sharing all SailorXv3 creations.
linkFacebook Page- The official SailorXv3 Facebook page
EMCCV About Downloads Docs Contributions Community
Login
Kindly supported by Fantasy Dress Up Games and Animal Makers

Docs → XML Primer

navigate_before Prev Next navigate_next

Before the config file there was XML...

It is not enough to just supply the graphic files. You need to tell the EMCCV when and where to draw them! Or... even if you wanted all images to be displayed in the top left corner, you would still somehow have to tell the EMCCV which images to import at all! Because the EMCCV directory will be full of images of multiple modules, extensions and modifications... Alright. So you can't get around it.

You also need to tell the EMCCV what items to list in the menu and in what order. We use the config.xml file to do that.

What is XML?

Simply put: XML is a language for storing data. Those who already know html will recognize the syntax (grammar): We use so-called "tags" to describe our data. A tag starts with a pointy opening bracket (or the "less than" symbol), ends with a closing bracket and contains a word or letter in between. Html has tags such as <b>, but with XML it is possible to define your own tags, and that's what we did for the EMCCV. 

I recommend the following tutorial (you only need to read it up to the page about "Attributes"), which is what I used to learn XML: http://www.w3schools.com/xml/default.asp

About IDs

We use the attribute id to uniquely identify ...everything! (Well, except files, but we get to that later.) An id consists of letters and numbers of your choosing.

EMCCV Community members will have an id. That's the username. Modules, extensions and modifications have an id. No two modules can have the same id. No two extensions can have the same id, etc. And no two elements of any kind can have the same id within a config file!

Now that you are familiar with the principles of XML, let's take a look at the tags you'll be using for the EMCCV!