X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tag.ml;h=c500dab730c4d94b795468cc88f61aa92da6a8b7;hb=2676d5a3bbb1e6f6a5af66477edfe3b4c849f4e7;hp=82c42b5757db837779aecd0cbacb5380d07de142;hpb=d64e3a3a9ef6329caafdba848ef78427fce0d689;p=SXSI%2Fxpathcomp.git diff --git a/tag.ml b/tag.ml index 82c42b5..c500dab 100644 --- a/tag.ml +++ b/tag.ml @@ -40,8 +40,9 @@ let hash x = x let to_string t = - if t = pcdata then "<$>" - else if t = attribute then "<@>" + if t == pcdata then "<$>" + else if t == attribute then "<@>" + else if t == nullt then "" else tag_name (get_pool()) t