shelarcy
shela****@capel*****
2004年 8月 23日 (月) 18:23:08 JST
On Sun, 22 Aug 2004 21:20:40 -1000 (HST), Shiro Kawai <shiro****@lava*****> wrote: > To allow attribute values to contain both single and double > quotes, the apostrophe or single-quote character (') MAY be > represented as "'", and the double-quote character (") > as """. > > ともあるので、シングルクオートだけ実体参照にしてしまう方が楽かも > しれません。 > > そもそも今のコードだとattrに#\&や#\<が入っててもやばそうだし。 Sxmlcnv では '、&、<、> を実体参照させるコードを書いていました。 (SXML->XML じたい書き直してますが…) 参考までに -- shelarcy <shela****@capel*****> http://page.freett.com/shelarcy/