X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tag.ml;h=c500dab730c4d94b795468cc88f61aa92da6a8b7;hb=09870a49122b3d7048422818dbb0a038513b4d14;hp=82c42b5757db837779aecd0cbacb5380d07de142;hpb=497ac3f74338faede9a844f5940857f55c0e9b64;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