Hi:

this patch allow style_mapping functions to continue transform the node via
the default transform function:
http://moshe.i-com-it.com/patchs/livedocs-styletransform.patch.txt

i run into the issue when i see i have no elegant way override the
text-align style using the transform function, without re-writing all the
generation flow by hand.

this behavior can be useful for small changes like duplication of childs
nodes (e.g, make the first child title) or changing the html order of two
node without  manualy generating all the subnodes.

explanations:
1. i splite the transform function into transform() that check if we calling
to style_ function, and transfor_default() which is called if no style_
function.
2. if the map callback function begin with '+', the function suppose to get
the $map beside the node. this map is moved into the
$node->transform_default().

thoughts?

--/moshe.

Reply via email to