Angel: Yeah, I never told anyone about this, but I-I liked your poems. Spike: You like Barry Manilow.

'Hell Bound'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Rob - Oct 03, 2012 10:59:32 am PDT #21144 of 25501

With hundreds of nodes I could imagine XSLT might be faster, but I'd think JavaScript would be pretty fast too.

What browser are you using to measure performance? Chrome has some profiling tools that might help you figure out if you can make the JavaScript code fast enough.


le nubian - Oct 03, 2012 11:03:42 am PDT #21145 of 25501
"And to be clear, I am the hell. And the high water."

I love my Samsung tv.


tommyrot - Oct 03, 2012 11:10:34 am PDT #21146 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

What browser are you using to measure performance? Chrome has some profiling tools that might help you figure out if you can make the JavaScript code fast enough.

I'm using IE 8. The application is IE-only. We've done a fair amount of JavaScript optimization already.

JavaScript on IE 9 is supposed to be faster (or was that 8?) but our client hasn't upgraded to IE 9 yet.


Gudanov - Oct 03, 2012 11:13:57 am PDT #21147 of 25501
Coding and Sleeping

IE 9 is supposed to have a better Javascript engine.


Rob - Oct 03, 2012 11:46:49 am PDT #21148 of 25501

I'm afraid I don't know anything about XSLT.


Tom Scola - Oct 03, 2012 11:48:50 am PDT #21149 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

Does the version of Javascript you're using have E4X? [link]


tommyrot - Oct 03, 2012 12:11:33 pm PDT #21150 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

I'm afraid I don't know anything about XSLT.

Actually, I got the xsl transformations working. The problem I'm having is the result of an xsl transformation is not a JavaScript object but just text (XML, in this case.) So I pull the result into a DOM DocumentFragment and then I try to do an AppendChild of the DocumentFragment into a different XML object, but that doesn't work.


tommyrot - Oct 03, 2012 12:16:35 pm PDT #21151 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Does the version of Javascript you're using have E4X? [link]

That sounds cool. But it's not supported by IE.

(I don't know why the consultants who developed the application made it IE-only. I think the client told them that IE only was OK, so the consultants used a bunch of IE-only XML functionality.)


Rob - Oct 03, 2012 12:43:35 pm PDT #21152 of 25501

What are the symptoms of the failure?


tommyrot - Oct 03, 2012 12:51:38 pm PDT #21153 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

I get a 'type mismatch' error (in the IE Javascript debugger).