Monthly Archives: April 2008

XIML functionality – blend mode

Blend mode can be applied to any element.

Usage example:

<el elem=”examp_el_set” x=”37%” y=”20″ w=”10%” blendMode=”darken” />

Available blend modes and descriptions:
add Commonly used to create an animated lightening dissolve effect between two images.
alpha Commonly used to apply the transparency of the foreground on the background.
darken Commonly used to superimpose type.
difference Commonly used to create more vibrant colors.
erase Commonly used to cut out (erase) part of the background using the foreground alpha.
hardlight Commonly used to create shading effects.
invert Used to invert the background.
layer Used to force the creation of a temporary buffer for precomposition for a particular movie clip.
lighten Commonly used to superimpose type.
multiply Commonly used to create shadows and depth effects.
normal Used to specify that the pixel values of the blend image override those of the base image.
overlay Commonly used to create shading effects.
screen Commonly used to create highlights and lens flares.
subtract Commonly used to create an animated darkening dissolve effect between two images.

XIML functionality – filters

Filters can be applied to any element.

Available filters are : BevelFilter , BlurFilter , DropShadowFilter , GlowFilter
Read more »

XIML at CeBIT Australia 2008!

CeBIT Australia 2008 is the largest and most important business-to-business technology event in the region.
XIML will be there and will have it first public appearance.

CeBIT is held on 20 – 22 May 2008 at Sydney Convention & Exhibition Centre, Darling Harbour

Meet us at TechRamp pavilion and at Transaction 2.0 conference.

XIML usage – integration with Google App Engine demo

This example illustrates an easy way to use XIML based interface with any web application.

In this case we used a just-released Google App Engine to create a data manager and that data is used by the XIML site for display.

see it at http://ximl-demo–pub-alb.appspot.com/

XIML – functionality – datatypes overview

Here is the list of all major datatypes to date with usage examples.
Some older examples may have a bit different attribute, please ignore and use as here.

Datatypes example:

example DX:

<homepage ex_attr=”attr val”>
<ex__data__subxml>sub node text</ex__data__subxml>
  <ex__data>
    <somepath>
      <somepath2 someattr="xpath and attribute text">
        xpath and value text
      </somepath2>
    </somepath>
  </ex__data>
<homepage>

usage in CX:

	datatype=”static” dataval=”actual value”

value hardcoded in CX (text – ”actual value”)

	datatype=”attr” dataattr=”ex_attr”

value located at the attribute of the main tag (text – ”attr val”)

	datatype=” subxml” subname=”ex__data__subxml”

sub xml tag with specified name
(xml tag – <ex__data__subxml>sub node text</ex__data__subxml>)

	datatype=” subxmlval” subname=”ex__data__subxml”

value of sub xml tag with specified name (text – ”sub node text”)

	datatype="xpath" dataxpath="/*/ex__data/somepath/somepath2"

sub xml tag with specified Xpath
(xml tag – <somepath2 someattr=”xpath and attribute text”>xpath and value text</somepath2>)

	datatype="xpathNval" dataxpath="/*/ex__data/somepath/somepath2"

value of sub xml tag with specified Xpath (text – ” xpath and value text”)

	datatype="xpathNattr" dataxpath="/*/ex__data/somepath/somepath2" dataattr="someattr"

value of sub xml tag with specified Xpath (text – ” xpath and attribute text”)

<el          …. … …   datatype="concat”          >
  <datavals>
    <d	datatype=” subxmlval”  subname=”ex__data__subxml”	/>
    <d	datatype=”static”		dataval=” --- :: --- ”		/>
    <d	datatype=”attr”			dataattr=”ex_attr”			/>
  </datavals>
</el>

concatenated values (text – ”sub node text — :: — attr val”)