class XPath::Renderer

def where(on, condition)

def where(on, condition)
  condition = condition.to_s
  if !condition.empty?
    "#{on}[#{condition}]"
  else
    on.to_s
  end
end