User:Moat-Moat

From Slavemaker Wiki
Revision as of 01:28, 22 January 2014 by Moat-Moat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


House Location V3.jpeg

[1]
[2]
[4]
[5]
[6]
[7]
[8]
[9]



How to make slave with style in XML

XSL-XML-CSS.jpg

  • Stylesheet.css
body {          background-color: #7D7D7D;
                        font-size: 14pt;
                        font-family: arial, verdana, sans-serif;}

div.slave {     /*clear: both;*/
                        float:left;
                        width:75%;
                        display: block;}
                       
h1.name {       font-family: "times new roman", serif;
                        font-style: italic;}

h2.desc {       font-family: "charlemagne std", garamond, "courrirer new", "times new roman", serif;
                        font-weight: bold;}

h3.credits {    font-family: "monotype corsiva", gabriola, "brush script std", cursive;
                        font-size: 16pt;
                        font-style: italic;}

img {           float:left;
                        height:500px;
                        margin: 10px 40px 20px 0;}

img.pict {      float: left;
                        margin: 10px 40px 20px 0;
                        min-height: 35em;
                        min-width: 35em;
                        max-height: 40em;
                        max-width: 40em;}

p.price {       font-size: 13pt;
                        font-style: italic;
                        font-family: "century gothic", calibri, verdana, arial, sans-serif;}

span.virgin{color: #AA0000;
                        font-size: 12pt;
                        font-weight: bold;
                        font-family: "century gothic", calibri, verdana, arial, sans-serif;}

#obeissance {
        float:right;
        width: 25%;
}

hr {                    width: 100%;
                        text-align: center;
                        clear: both;}

#footer {       font-family: "century gothic", calibri, verdana, arial, sans-serif;
                        font-size: 8pt;
                        color: #404040;}

@media print {
body {          background-color: white;}

span.virgin{color: black;}
}
  • Stylesheet-English.xsl
<?xml version='1.0' encoding='UTF-8'?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:output method="html"/>
        <xsl:template match="/">
        <html>
                <head>
                        <title>Descriptive of SM3 Slave <xsl:value-of select="Language/Slave/Name"/></title>
                        <style type='text/css'>@import "Stylesheet.css"</style>
                </head>
       
                <body>

<div class="slave">

                <img id="pict"><xsl:attribute name='src'>Slave-<xsl:value-of select="Language/Slave/Name"/>.png</xsl:attribute></img>

                <h1 class='name'><xsl:value-of select="Language/Slave/Name"/></h1>
                <h2 class='desc'><xsl:value-of select="Language/Slave/Description"/></h2>
                <h3 class='credits'>Made by <xsl:value-of select="Language/Slave/Credits"/></h3>
                <h4>Current version: <xsl:value-of select="Language/Slave/Version"/></h4>
               
                <p class='price'>She is sold for <xsl:value-of select="Language/Slave/Price"/> GP</p>
               
                <span class='virgin'>
                        <xsl:if test="Language/Slave/VirginVaginal= 'true'"><p>She is a virgin!</p></xsl:if>
                        <xsl:if test="Language/Slave/VirginOral= 'true'"><p>She has never given a blowjob!</p></xsl:if>
                        <xsl:if test="Language/Slave/VirginAnal= 'true'"><p>She has never been ass-fucked!</p></xsl:if>
                </span>
               
                <p>Her Vital Stats:</p>
                <ul>
                        <li>Her bust is <xsl:value-of select="Language/Slave/Bust"/></li>
                        <li>Her waist is <xsl:value-of select="Language/Slave/Waist"/></li>
                        <li>Her hips are <xsl:value-of select="Language/Slave/Hips"/></li>
                        <li>She is <xsl:value-of select="Language/Slave/Age"/> years old</li>
                        <li>Her blood type is <xsl:value-of select="Language/Slave/BloodType"/></li>
                        <li>She weighs <xsl:value-of select="Language/Slave/Weight"/>kg</li>
                        <li>She measures <xsl:value-of select="Language/Slave/Height"/>cm</li>
                </ul>
               
                <p>You have about <xsl:value-of select="Language/Slave/TrainingTime"/> days to train her.</p>

</div>

<!-- -->
        <div id="obeissance">
<h3>Obedience</h3>
                <ul>
                        <li>Anal : <xsl:value-of select="Language/Slave/Difficulties/Anal"/></li>
                        <li>Blowjob : <xsl:value-of select="Language/Slave/Difficulties/Blowjob"/></li>
                        <li>Bondage : <xsl:value-of select="Language/Slave/Difficulties/Bondage"/></li>
                        <li>Brothel : <xsl:value-of select="Language/Slave/Difficulties/Brothel"/></li>
                        <li>Dildo : <xsl:value-of select="Language/Slave/Difficulties/Dildo"/></li>
                        <li>Expose : <xsl:value-of select="Language/Slave/Difficulties/Expose"/></li>
                        <li>Fuck : <xsl:value-of select="Language/Slave/Difficulties/Fuck"/></li>
                        <li>GangBang : <xsl:value-of select="Language/Slave/Difficulties/GangBang"/></li>
                        <li>LendHer : <xsl:value-of select="Language/Slave/Difficulties/LendHer"/></li>
                        <li>Lesbian : <xsl:value-of select="Language/Slave/Difficulties/Lesbian"/></li>
                        <li>Lick : <xsl:value-of select="Language/Slave/Difficulties/Lick"/></li>
                        <li>Master : <xsl:value-of select="Language/Slave/Difficulties/Master"/></li>
                        <li>Masturbate : <xsl:value-of select="Language/Slave/Difficulties/Masturbate"/></li>
                        <li>Naked : <xsl:value-of select="Language/Slave/Difficulties/Naked"/></li>
                        <li>Plug : <xsl:value-of select="Language/Slave/Difficulties/Plug"/></li>
                        <li>Ponygirl : <xsl:value-of select="Language/Slave/Difficulties/Ponygirl"/></li>
                        <li>SleazyBar : <xsl:value-of select="Language/Slave/Difficulties/SleazyBar"/></li>
                        <li>Spanking : <xsl:value-of select="Language/Slave/Difficulties/Spanking"/></li>
                        <li>Threesome : <xsl:value-of select="Language/Slave/Difficulties/Threesome"/></li>
                        <li>TitsFuck : <xsl:value-of select="Language/Slave/Difficulties/TitsFuck"/></li>
                        <li>Touch : <xsl:value-of select="Language/Slave/Difficulties/Touch"/></li>
                        <li>XXX : <xsl:value-of select="Language/Slave/Difficulties/XXX"/></li>
                        <li>XXXContest : <xsl:value-of select="Language/Slave/Difficulties/XXXContest"/></li>

                </ul>
        </div>
<!-- -->
               
                <hr/>
                <p id='footer'>XML Stylesheet for SM3 Slaves made by Thf772</p>
               
                </body>
        </html>
        </xsl:template>
</xsl:stylesheet>
  • First (1°) line of Slave-NAME.xml (e.g. Slave-Shampoo.xml)
<?xml-stylesheet type='text/xsl' href="Stylesheet-English.xsl"?>
<Language>
        <Slave>
                <Version>2</Version>
                <Credits>Developed originally by Pooloka, continued by cmacleod</Credits>
               
                <Name>Shampoo</Name>
                <Description>obsessed assistant</Description>
...

SlaveMarket(Base).jpg
Belldandy.png
Akane.png
Ranma.png
Shampoo.png
Yurika.png
Aeris.png