- From: L2L 2L <emanuelallen@h...>
- To: Simon St.Laurent <simonstl@s...>
- Date: Wed, 16 Jul 2014 13:49:54 -0400
I'm trying to get other interested in the revive and remake of the e4x, but renaming it EXQO(ECMA-Script xml query object) and adding the sax api as methods of the XML object. Would you be interested in this? /* signature */ "use strict"; var j = 0, baz = "", k = "", bar = "83,104,101,108,108,101,121,32,80,111,119,101,114,115,39,32,98,111,111,107,115,32,97,114,101,32,116,111,32,114,101,97,100,32,102,111,114,";
for(;bar.charAt(j);){ if(bar.charAt(j) !== ","){ k += bar.charAt(j); } else{ baz += String.fromCharCode(k)+" \v"; k = ""; } j++; } console.dir(baz); /* end of signature */ On Jul 16, 2014, at 1:39 PM, "Simon St.Laurent" < simonstl@s...> wrote: On 07/15/2014 01:51 PM, Costello, Roger L. wrote:Hello Folks,
I need a Java SAX event handler that outputs the same XML as the input XML.
Do you mean byte-for-byte same, or character-for-character, or node-for-node?Do you have such a Java SAX event handler that you would be willing to share?
I was writing one for character-by-character, but SAX (reasonably) doesn't support enough event detail for that. I got a ways with an extended API, but between the world's lack of interest and my increasing discontent with Java for text processing, let it go.Thanks,Simon_______________________________________________________________________XML-DEV is a publicly archived, unmoderated list hosted by OASISto support XML implementation and development. To minimizespam in the archives, you must subscribe before posting.[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/Or unsubscribe: xml-dev-unsubscribe@l...subscribe: xml-dev-subscribe@l...List archive: http://lists.xml.org/archives/xml-dev/List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|