tag:blogger.com,1999:blog-8640596986273216089.post9160415973726711436..comments2023-08-15T06:10:51.086-03:00Comments on Ariel Flesler: XMLWriter for JavascriptAriel Fleslerhttp://www.blogger.com/profile/17700414222186772120noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-8640596986273216089.post-3163621836639169212013-09-08T17:28:25.963-03:002013-09-08T17:28:25.963-03:00Hi Kolen
You should be using CDATA for writing htm...Hi Kolen<br />You should be using CDATA for writing html code, the default should not be to auto escape html.Ariel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-22538270666088267152013-09-08T12:21:09.502-03:002013-09-08T12:21:09.502-03:00Quick-fix for escaping:
https://gist.github.com/k...Quick-fix for escaping:<br /><br />https://gist.github.com/kolen/6485523kolenhttps://www.blogger.com/profile/14308747006600734980noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-45597163921269488112013-07-10T13:55:28.704-03:002013-07-10T13:55:28.704-03:00Ariel, help me please!!!. I'm new generating x...Ariel, help me please!!!. I'm new generating xml document. how to put it in a directory on the client disk?Anonymoushttps://www.blogger.com/profile/04221897470161772533noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-1917491394379559102013-03-23T07:57:17.785-03:002013-03-23T07:57:17.785-03:00It's dumbfounding how damned hard something to...It's dumbfounding how damned hard something to do this actually is. Apparently everybody and their mother wants to read XML, producing XML from JavaScript is a sadly overly rare concept.<br /><br />Thanks.Tatarizehttps://www.blogger.com/profile/06655536699564744308noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-76778302578416838102012-04-24T07:24:52.574-03:002012-04-24T07:24:52.574-03:00hi can you please tell me how to run it and where ...hi can you please tell me how to run it and where will be the out put generatedTECHNOCRAThttps://www.blogger.com/profile/06638689611950202335noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-83654592992684638852012-04-18T12:18:07.683-03:002012-04-18T12:18:07.683-03:00Hi Kathir
For saving you need to use some workaro...Hi Kathir<br /><br />For saving you need to use some workarounds, the same as you'd use to save any string. <br />Google "javascript write to disk"Ariel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-3484769486843398542012-04-18T07:06:53.724-03:002012-04-18T07:06:53.724-03:00Hi Ariel,
First of all thanks for the nice tool
...Hi Ariel,<br /><br />First of all thanks for the nice tool<br /><br />I need to save the generated xml as a file <br /><br />is it possible ?<br /><br />Please let me know ASAP<br /><br />Kathiravan.PKathirhttps://www.blogger.com/profile/02496683717112816229noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-79930422791662805432012-04-05T08:03:04.824-03:002012-04-05T08:03:04.824-03:00Hi Ariel,
I need to delete the last added node...Hi Ariel,<br /> I need to delete the last added node... And I have added the following method in your XMLWriter file. Its working fine for me. Can you please tell me if its the right way of doing it?<br /><br />deleteEndElement:function(){<br /> this.stack.pop();<br /> this.active.c.pop();<br /> }Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-4446499038625459682012-02-17T12:49:33.645-03:002012-02-17T12:49:33.645-03:00Hi, you can't. This is an XMLWriter, not a rea...Hi, you can't. This is an XMLWriter, not a reader. If you need a value you just wrote, then keep it somewhere when you write it.Ariel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-54074371474962208572012-02-17T04:54:57.995-03:002012-02-17T04:54:57.995-03:00How can read the value back from the xmlWriter?How can read the value back from the xmlWriter?Nijo Josehttps://www.blogger.com/profile/08541182503394148321noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-86559609876543944852011-02-26T16:38:06.743-03:002011-02-26T16:38:06.743-03:00Good function class!
"Standalone" shoul...Good function class!<br /><br />"Standalone" should be yes or no, I think.<br />And some escaping would be nice. I took the liberty to make this changes and make them available <br />https://github.com/alexandern/XMLWriteralexandernhttps://www.blogger.com/profile/17065832129546013393noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-38744127396251596052008-03-14T11:35:00.000-02:002008-03-14T11:35:00.000-02:00Hi ChrisI actually don't remember, I made the base...Hi Chris<BR/><BR/>I actually don't remember, I made the base of this script, long ago, dependant from a framework I made.<BR/><BR/>A few days ago, I decided to clean it up and make it standalone, but you are right, UTF8 would be more appropiate.<BR/><BR/>I'll make sure to change that in the trunk, will include it if I add another release.<BR/><BR/>Thanks!Ariel Fleslerhttps://www.blogger.com/profile/17700414222186772120noreply@blogger.comtag:blogger.com,1999:blog-8640596986273216089.post-56627539548228409812008-03-14T11:20:00.000-02:002008-03-14T11:20:00.000-02:00Hi Ariel,Just wondering why the default encoding i...Hi Ariel,<BR/>Just wondering why the default encoding isn't UTF-8? <BR/><BR/>Thanks<BR/>ThatcherThatcherhttps://www.blogger.com/profile/05706801348727630948noreply@blogger.com