By: kapouer
Date: 2008-12-25
Time: 14:23
|
define a block limited only by the tbs tag
a bit like block=_
but only to repeat the tag itself :
use cases :
1) this would repeat (...), parenthesis included :
([liste.valeur;block=1:1])
-> (value1)(value2)(value3)
2) this would repeat the first block and use , for the splittergrp :
[liste.valeur;block=0:0][liste;splittergrp=id;block=-0;1],
-> value1,value2,value3
Usage :
block=x:y
defines block limits by including x chars before start of merged value
and y chars after end of merged value,
so that 0:0 limits the block to the value itself,
0:1 includes one char after the value
1:0 includes one char before the value
That would be awesome for using templates in plain text files.
|
By: Skrol29
Date: 2008-12-28
Time: 21:16
|
Re: define a block limited only by the tbs tag
Hi Kapouer,
This can be a good idea.
The syntax cannot be "block=x:y" because ":" is used by XML tag's names. It could be "block=x|y" instead, for example.
What should be the behavior if the user put several fields instead of a unique once for the same block?
To you meet the problem often enough to need the feature to be supported in native?
|