XML: The Core of the Skotos StoryBuilder ServerWhys, Hows, and Wherefors There's a new buzz word going around the Internet community right now. It's XML, which is short for the eXtensible Markup Language. It's a close cousin to HTML, the markup language at the heart of most Internet web pages.
XML: How <description type="brief"> frog </description> The standard approach seems to be: <description> <type> brief </type> <content> frog </content> </description> To be honest, we're not precisely sure why others do things the latter way. |
<object id="OBJ(Marrach:Props:sword-solaris)"> <context/> <Base:Thing> <Ur:UrObject/> <Base:Misc gender="neuter" volition="false" weapon="true"> <Base:Edible value="false"/> <Base:Potable value="false"/> <Base:ClothesExpected value="false"/> <Base:DieMessageFirst/> <Base:DieMessageThird/> </Base:Misc> <Base:Events/> <Base:Details> <Base:Detail id="sword-solaris" prime="true" def="false" abstract="false" hush="0"> <Base:Preposition close="true" against="true" under="false" on="true" inside="false" near="true" over="false" behind="false" before="true" beside="true"/> <Base:Names> <Base:Name sname="sword" pname="swords"/> <Base:Name sname="weapon" pname="weapons"/> </Base:Names> <Base:Adjectives> <Base:Adjective adjective="broad"/> <Base:Adjective adjective="huge"/> <Base:Adjective adjective="long"/> <Base:Adjective adjective="straight"/> <Base:Adjective adjective="two-hand"/> <Base:Adjective adjective="two-handed"/> <Base:Adjective adjective="two-hander"/> </Base:Adjectives> <Base:Descriptions> <Base:Description type="brief"> huge two-handed sword </Base:Description> <Base:Description type="examine"> This is a huge, straight-bladed two-handed sword, with a leather wrapped grip, spherical pommel, and straight guard. It is about 59 inches long overall. There is something inscribed on the rusty blade. </Base:Description> <Base:Description type="look"> You look at the rusty two-handed sword. </Base:Description> </Base:Descriptions> <Base:Exit door="false"/> </Base:Detail> <Base:Detail id="blade" prime="false" def="false" abstract="false" hush="0"> <Base:Preposition close="true" against="true" under="false" on="true" inside="false" near="true" over="false" behind="false" before="true" beside="true"/> <Base:Names> <Base:Name sname="blade" pname="blades"/> <Base:Name sname="edge" pname="edges"/> <Base:Name sname="tip" pname="tips"/> <Base:Name sname="point" pname="points"/> <Base:Name sname="inscription" pname="inscriptions"/> </Base:Names> <Base:Adjectives> <Base:Adjective adjective="dented"/> <Base:Adjective adjective="dinged"/> <Base:Adjective adjective="huge"/> <Base:Adjective adjective="rust-covered"/> <Base:Adjective adjective="rusted"/> <Base:Adjective adjective="rusty"/> <Base:Adjective adjective="sharp"/> <Base:Adjective adjective="steel"/> <Base:Adjective adjective="straight"/> <Base:Adjective adjective="sword"/> <Base:Adjective adjective="tapered"/> <Base:Adjective adjective="tapering"/> <Base:Adjective adjective="two-hand"/> <Base:Adjective adjective="two-handed"/> <Base:Adjective adjective="two-hander"/> <Base:Adjective adjective="weapon"/> </Base:Adjectives> <Base:Descriptions> <Base:Description type="brief"> two-hand sword blade </Base:Description> <Base:Description type="examine"> The rusty, dinged, dented steel blade of this two-handed sword is about 46 inches long; it has, however, been kept sharp on both edges. It has a flat diamond cross section without taper, and comes rapidly to a point in the final three inches or so. The word 'Solaris' is inscribed in archaic letters on the blade. </Base:Description> <Base:Description type="look"> You look at the long, rusty steel blade of the two-handed sword. </Base:Description> <Base:Description type="taste"> The blade tastes rusty and sharp! </Base:Description> </Base:Descriptions> <Base:Exit door="false"/> </Base:Detail> <Base:Detail id="grip" prime="false" def="false" abstract="false" hush="0"> <Base:Preposition close="true" against="true" under="false" on="true" inside="false" near="true" over="false" behind="false" before="true" beside="true"/> <Base:Names> <Base:Name sname="grip" pname="grips"/> <Base:Name sname="handle" pname="handles"/> <Base:Name sname="leather" pname="leathers"/> <Base:Name sname="wrapping" pname="wrappings"/> </Base:Names> <Base:Adjectives> <Base:Adjective adjective="huge"/> <Base:Adjective adjective="leather"/> <Base:Adjective adjective="leather-wrapped"/> <Base:Adjective adjective="stained"/> <Base:Adjective adjective="sword"/> <Base:Adjective adjective="tight"/> <Base:Adjective adjective="tightly-wrapped"/> <Base:Adjective adjective="two-handed"/> <Base:Adjective adjective="two-hander"/> <Base:Adjective adjective="weapon"/> </Base:Adjectives> <Base:Descriptions> <Base:Description type="brief"> sword grip </Base:Description> <Base:Description type="examine"> The grip of the two-handed sword (between the guard and the pommel) is about ten inches long, and tightly wrapped with stained leather. </Base:Description> <Base:Description type="look"> You look at the leather-wrapped grip of the two-handed sword. </Base:Description> <Base:Description type="taste"> The grip tastes of sweat and leather. </Base:Description> </Base:Descriptions> <Base:Exit door="false"/> </Base:Detail> <Base:Detail id="guard" prime="false" def="false" abstract="false" hush="0"> <Base:Preposition close="false" against="false" under="false" on="false" inside="false" near="false" over="false" behind="false" before="false" beside="false"/> <Base:Names> <Base:Name sname="guard" pname="guards"/> <Base:Name sname="bar" pname="bars"/> </Base:Names> <Base:Adjectives> <Base:Adjective adjective="dented"/> <Base:Adjective adjective="dinged"/> <Base:Adjective adjective="huge"/> <Base:Adjective adjective="rusted"/> <Base:Adjective adjective="rusty"/> <Base:Adjective adjective="square"/> <Base:Adjective adjective="steel"/> <Base:Adjective adjective="straight"/> <Base:Adjective adjective="sword"/> <Base:Adjective adjective="two-handed"/> <Base:Adjective adjective="two-hander"/> <Base:Adjective adjective="weapon"/> </Base:Adjectives> <Base:Descriptions> <Base:Description type="brief"> sword guard </Base:Description> <Base:Description type="examine"> The guard of the sword is a rusty, dinged and dented square steel bar about thirteen inches long, at right angles to and between the grip and the blade itself. </Base:Description> <Base:Description type="look"> You look at the straight steel guard of the two-handed sword. </Base:Description> <Base:Description type="taste"> The guard tastes rusty. </Base:Description> </Base:Descriptions> <Base:Exit door="false"/> </Base:Detail> <Base:Detail id="hilt" prime="false" def="false" abstract="false" hush="0"> <Base:Preposition close="true" against="true" under="false" on="true" inside="false" near="true" over="false" behind="false" before="true" beside="true"/> <Base:Names> <Base:Name sname="hilt" pname="hilts"/> </Base:Names> <Base:Adjectives> <Base:Adjective adjective="dented"/> <Base:Adjective adjective="dinged"/> <Base:Adjective adjective="huge"/> <Base:Adjective adjective="rusted"/> <Base:Adjective adjective="rusty"/> <Base:Adjective adjective="simple"/> <Base:Adjective adjective="sword"/> <Base:Adjective adjective="two-handed"/> <Base:Adjective adjective="two-hander"/> <Base:Adjective adjective="weapon"/> </Base:Adjectives> <Base:Descriptions> <Base:Description type="brief"> two-handed sword hilt </Base:Description> <Base:Description type="examine"> The hilt of this two-handed sword consists of a leather-wrapped grip, a straight guard (between the grip and the blade) and a spherical pommel. The leather is stained, the metal is rusty, dinged and dented. </Base:Description> <Base:Description type="look"> You look at the simple hilt of the two-handed sword. </Base:Description> <Base:Description type="taste"> The sword hilt tastes rusty and sweaty. </Base:Description> </Base:Descriptions> <Base:Exit door="false"/> </Base:Detail> <Base:Detail id="pommel" prime="false" def="false" abstract="false" hush="0"> <Base:Preposition close="true" against="true" under="false" on="true" inside="false" near="true" over="false" behind="false" before="true" beside="true"/> <Base:Names> <Base:Name sname="pommel" pname="pommels"/> <Base:Name sname="sphere" pname="spheres"/> </Base:Names> <Base:Adjectives> <Base:Adjective adjective="huge"/> <Base:Adjective adjective="plain"/> <Base:Adjective adjective="round"/> <Base:Adjective adjective="spherical"/> <Base:Adjective adjective="steel"/> <Base:Adjective adjective="sword"/> <Base:Adjective adjective="two-handed"/> <Base:Adjective adjective="two-hander"/> <Base:Adjective adjective="weapon"/> </Base:Adjectives> <Base:Descriptions> <Base:Description type="brief"> two-handed sword pommel </Base:Description> <Base:Description type="examine"> The pommel of this two-handed sword is a rusty, dented steel sphere, about an inch across. </Base:Description> <Base:Description type="look"> You look at the spherical steel pommel of the two-handed sword. </Base:Description> <Base:Description type="taste"> The pommel tastes rusty. </Base:Description> </Base:Descriptions> <Base:Exit door="false"/> </Base:Detail> </Base:Details> <Base:Bulk> <Base:Mass value="2.3"/> <Base:Density value="7.8"/> <Base:Capacity value="0"/> <Base:LDim value="1.5"/> <Base:MaxWeight value="0"/> <Base:MaxFA value="0"/> <Base:MaxDepth value="0"/> </Base:Bulk> <Base:Combat> <Base:Strength value="1"/> <Base:MaxFatigue value="100"/> </Base:Combat> <Base:Clothing> <Base:Covered value="right-hand"/> <Base:SingleWear value="false"/> </Base:Clothing> <Base:Container> <Base:ContainerVerbSecond/> <Base:ContainerVerbThird/> </Base:Container> <Notes:Notes/> <Ur:UrChildren> <Ur:UrChild urchild="OBJ(/base/obj/thing#5371)"/> </Ur:UrChildren> </Base:Thing> </object> |