Code Search for Developers
 
 
  

Sample XML.txt from SmartFrog at Krugle


Show Sample XML.txt syntax highlighted

======================================================================
CREATES A NEW COMPONENT DESCRIPTION AT THE NAMED URI
======================================================================
<?xml version="1.0" ?>
<description type="description" language="sf">
<![CDATA[
#include "org/smartfrog/components.sf"

MyPrim extends Prim
{
	my_attr "foobar";
	an_int 50;
	a_float 1.2f;
	a_double 1.2;
	a_long 53L;
	a_bool true;
}

sfConfig extends MyPrim;
]]>
</description>

======================================================================
CREATES A NEW COMPONENT DEPLOYED AT THE NAMED URI
======================================================================
<?xml version="1.0" ?>
<description type="component" language="sf">
<![CDATA[
#include "org/smartfrog/components.sf"

MyPrim extends Prim
{
	sfClass "org.smartfrog.sfcore.prim.PrimImpl";
	my_attr "foobar";
	an_int 50;
	a_float 1.2f;
	a_double 1.2;
	a_long 53L;
	a_bool true;
}

sfConfig extends MyPrim;
]]>
</description>

======================================================================
CREATES A NEW ATTRIBUTE (Integer) AT THE NAMED URI
======================================================================
<?xml version="1.0" ?>
<description type="attribute" language="sf">
<![CDATA[
52
]]>
</description>

======================================================================
  CREATES A NEW ATTRIBUTE (String) AT THE NAMED URI
======================================================================
<?xml version="1.0" ?>
<description type="attribute" language="sf">
<![CDATA[
"Derek"
]]>
</description>

======================================================================
  CREATES A NEW ATTRIBUTE (Boolean) AT THE NAMED URI
======================================================================
<?xml version="1.0" ?>
<description type="attribute" language="sf">
<![CDATA[
true
]]>
</description>

======================================================================
  CREATES A NEW REFERENCE AT THE NAMED URI
======================================================================
<?xml version="1.0" ?>
<description type="reference" language="sf">
<![CDATA[
LAZY ROOT
]]>
</description>



See more files for this project here

SmartFrog

SmartFrog (Smart Framework for Object Groups) is a framework for configuring and automatically activating distributed applications. \r\nThe SmartFrog framework is released under LGPL license.\r\nMore info at: www.smartfrog.org

Project homepage: http://sourceforge.net/projects/smartfrog
Programming language(s): Java,XML
License: other

  Enabling Web Based SmartFrog Management.pdf
  Enabling Web Based SmartFrog Management.ppt
  Sample XML.txt