Pxml Updated


TiKub said:
I find it easier to make a DTD file from a XML file without attributes.
Then, you can not only check your PXML is a valid XML file but also that it conforms to PXML specifications :)
I'm don't yet familiar well with XML, but my opinion is, that XSL is better than DTD. XSL allow very tight description and even checking of attributes. In example, if titles are as this:
QUOTE

<title lang='en' text='Program title'/>
<title lang='de' text='Program Title in German Language'/>
<title lang='it' text='Program Title in Italian Language'/>


then XSL can strictly say what exactly must be used in "lang" attribute, so nobody can produce PXML with invalid lang code.

I guess that attributes are useful. It's just about good concept and schema.
 
Last edited by a moderator:
XSL seems interesting, as a non-programmer it looked less painful than XML.

XML may be good for self-generated stuff and parsing, but I find it PITA for manual editing.
 
An archive which includes a pxml that just installs documents, additional language packs, or game data will typically require a script of some sort to install that data, so the exec tag would point to the script. The launcher would not know how to install such things itself.
 
Ok - that's clear. What I had not understood was that the pxml is used only as description for the launcher, not as the actual package description. (Correct me if I'm mistaken)

(edit: reworded slightly )
 
Back
Top