fix parsing issue when using single quotes on node attributes