ProblemX.xml: Difference between revisions

From Hackspire
Jump to navigation Jump to search
(Creating the page)
 
m (typo)
Line 38: Line 38:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">


<card <!--  -->
<card ><!--  -->
clay="{0->7}" <!-- Page layout from 0 (1 widget) to 7 (4 widgets)-->
clay="{0-7}" <!-- Page layout from 0 (1 widget) to 7 (4 widgets)-->
h1="{0->10000}" <!-- Height of the left top widget -->
h1="{0-10000}" <!-- Height of the left top widget -->
h2="{0->10000}" <!--  -->
h2="{0-10000}" <!--  -->
w1="{0->10000}" <!-- Width of the left top widget -->
w1="{0-10000}" <!-- Width of the left top widget -->
w2="{0->10000}" <!--  -->
w2="{0-10000}" <!--  -->
> <!--  -->
> <!--  -->
<isDummyCard>0</isDummyCard> <!--  -->
<isDummyCard>0</isDummyCard> <!--  -->

Revision as of 09:59, 24 December 2011

Problem

Raw

<!-- In file ProblemX.xml (X being the problem's number). -->

<prob xmlns="urn:TI.Problem" ver="1.0" pbname="{ProblemName}">
<sym></sym>
<INSERT-CARDS-HERE>
</prob>

Explanation

<prob 				><!-- I cut the <prob ... > in several lines -->
	xmlns="urn:TI.Problem"	<!--  -->
	ver="1.0" 		<!--  -->
	pbname="NomDuProbleme"	<!-- Problem name -->
>				<!--  -->
<sym></sym> 			<!-- Vars are stored here -->
</prob>


Card

Raw

<card clay="{0-7}" h1="{0-10000}" h2="{0-10000}" w1="{0-10000}" w2="{0-10000}">
<isDummyCard>0</isDummyCard>
<flag>0</flag>
<INSERT-WIDGETS-HERE>
</card>

Explanation

<card				><!--  -->
	clay="{0-7}" 		<!-- Page layout from 0 (1 widget) to 7 (4 widgets)-->
	h1="{0-10000}" 		<!-- Height of the left top widget -->
	h2="{0-10000}" 		<!--  -->
	w1="{0-10000}" 		<!-- Width of the left top widget -->
	w2="{0-10000}"		<!--  -->
> 				<!--  -->
<isDummyCard>0</isDummyCard>	<!--  -->
<flag>0</flag> 			<!--  -->
</card>				<!--  -->