Martin T writes:
>Thanks Phil! I wasn't aware of the mode statement. However, as I don't
>see a performance benefit, then solution in my initial e-mail looks
>bit simpler.
It always depends on the rules and the structure of the contents
you are converting, but when someone says "I want to
On Thu, Oct 25, 2018 at 10:08 PM Phil Shafer wrote:
>
> Martin T writes:
> >I need to trim the text node of a specific element node in SLAX. All
> >other elements should remain as in the original node-set. At the
> >moment, I do it like this:
>
> Use apply-templates and a distinct mode to
Martin T writes:
>I need to trim the text node of a specific element node in SLAX. All
>other elements should remain as in the original node-set. At the
>moment, I do it like this:
Use apply-templates and a distinct mode to traverse the entire
hierarchy and apply rules to rebuild content, like:
Hi!
I need to trim the text node of a specific element node in SLAX. All
other elements should remain as in the original node-set. At the
moment, I do it like this:
$ cat trim_node-set.slax
version 1.2;
main {
var $alphabet := {
{
{
"bbb ";
"ccc ";
}
4 matches
Mail list logo