tag:blogger.com,1999:blog-6501711.post112311656940763041..comments2007-04-16T14:01:13.457-04:00Comments on codebytez: SEXMLcodenoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6501711.post-1149384866845752832006-06-03T21:34:00.000-04:002006-06-03T21:34:00.000-04:00The big reason to use SEXML for me was to easily p...The big reason to use SEXML for me was to easily pass it in a URL, ie. http://blogger.com/do?a=test{one{}two{}}codehttp://www.blogger.com/profile/11937852191171948923noreply@blogger.comtag:blogger.com,1999:blog-6501711.post-1149257433549650232006-06-02T10:10:00.000-04:002006-06-02T10:10:00.000-04:00What if you replace curly braces by newline+indent...What if you replace curly braces by newline+indentation? You'd have... YAML!<BR/><BR/>Which is a great alternative to XML, too.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6501711.post-1149220002052035712006-06-01T23:46:00.000-04:002006-06-01T23:46:00.000-04:00html ( body ( pre ( This is in, i (ita...html ( <BR/> body ( <BR/> pre ( <BR/> This is in, i (italics) <BR/> )<BR/> ) <BR/>)<BR/><BR/>html ( <BR/> body ( <BR/> pre ( <BR/>This <BR/>is<BR/>in,<BR/>i (italics) <BR/> )<BR/> )<BR/>)<BR/><BR/>Actually, I have updated the format to use braces and replaced commas with {}<BR/><BR/>So the above becomes:<BR/>html { body { pre { <BR/> This is in {} i { italics } <BR/>} } }<BR/><BR/>I also have a parser less than 100 lines in java which supports entities. Eg: < &rt; for { }codehttp://www.blogger.com/profile/11937852191171948923noreply@blogger.comtag:blogger.com,1999:blog-6501711.post-1149187755652394262006-06-01T14:49:00.000-04:002006-06-01T14:49:00.000-04:00Here are two not-quite-valid xhtml documents. Plea...Here are two not-quite-valid xhtml documents. Please convert them to your SEXML format.<BR/><BR/><BR/><html><body><pre>This is in <i>italics</i>.</pre></body></html><BR/><BR/><html><body><pre>This<BR/>is<BR/>in<BR/><i>italics</i>.</pre></body></html><BR/><BR/>I think you'll discover a weakness in your proposed format.Michael Chermsidehttp://www.blogger.com/profile/16367028757404011789noreply@blogger.comtag:blogger.com,1999:blog-6501711.post-1149146617449372092006-06-01T03:23:00.000-04:002006-06-01T03:23:00.000-04:00I find your proposal interesting but you still nee...I find your proposal interesting but you still need a CDATA-like mechanism since without it you cannot include the parenthesis as legal content.<BR/><BR/>Maybe an escape mechanism a-la C \( \) could suffice.Anonymousnoreply@blogger.com