
1. Replace the spaces in the first juicer's name with a dash. Repeat for
   each juicer.

   for $i in //juicer return replace($i/name, ' ', '-')


2. The value of the electric attribute is true/false. Replace each true with 1
   and each false with 0.

   for $i in //juicer return if ($i/@electric eq 'true') then replace($i/@electric, 'true', '1') else replace($i/@electric, 'false', '0')


3. Convert this:

      W151TBH

   to this:

      W#151TBH

   replace('W151TBH', '([a-zA-Z]+)([0-9]+)([a-zA-Z]+)', '$1#$2#$3')
  
4. Convert these:

      ('Deposit500RC', 'Withdraw250DH', 'Withdraw400HC')

   to this:

      Deposit#500#RC, Withdraw#250#DH, Withdraw#400#HC

   for $i in ('Deposit500RC', 'Withdraw250DH', 'Withdraw400HC') return replace($i, '([a-zA-Z]+)([0-9]+)([a-zA-Z]+)', '$1#$2#$3')
