You have reached Ritual Sacrifice. For goats, press one or say 'goats.' To sacrifice a loved one or pet, press the pound key.

Phone Menu Voice ,'Conviction (1)'


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!


Vortex - Aug 24, 2009 7:26:34 pm PDT #11010 of 25501
"Cry havoc and let slip the boobs of war!" -- Miracleman

My boss things that if you don't charge your cell phone completely each time, it "changes the memory" in the battery so that a full charge will then equal only what you charged it to when it wasn't full.

I think that this was true once upon a time, especially with Ni-Cad batteries.


NoiseDesign - Aug 24, 2009 8:52:31 pm PDT #11011 of 25501
Our wings are not tired

That was true for cell phones about 10 years ago.


tommyrot - Aug 25, 2009 8:03:45 am PDT #11012 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 need xsl help!

OK, instead of a

xsl:for-each

I need something that will only look at the fist XML element, instead of looping through all of them.

eta: Nebbermind. I got it to work....


Tom Scola - Aug 25, 2009 8:16:00 am PDT #11013 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

You probably want to use <xsl:value-of> or <xsl:call-template> in those circumstances.


Sophia Brooks - Aug 25, 2009 8:16:29 am PDT #11014 of 25501
Cats to become a rabbit should gather immediately now here

Thank you- I told her she had nothing to worry about, but I didn't realize her fear was based in fact!


tommyrot - Aug 25, 2009 8:17:14 am PDT #11015 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.

Thanks - I was using <xsl:value-of>, but I was starting at the root so it wasn't working. I caught that bug and now all is groovy....


tommyrot - Aug 25, 2009 9:03:14 am PDT #11016 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.

Another question: Using Javascript in IE, I want to take an XML document already in memory and replace every single example of an attribute with a different value. Do I need to loop through the XML doc, or is there a Javascript function that can do a "global replace"?


Jon B. - Aug 25, 2009 10:25:00 am PDT #11017 of 25501
A turkey in every toilet -- only in America!

Tom, would one of these functions do what you want? [link]


tommyrot - Aug 25, 2009 11:15:45 am PDT #11018 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.

Tom, would one of these functions do what you want? [link]

I think they would, except to use them I'd have to grab the XML from the Document Object Model object variable, do the search and replace and then stick the resulting XML back into the object variable. Maybe there's nothing wrong with that approach, but I ended up using the selectNodes method of the XML object to get a set of nodes to change, then looping through and using the SetAttribute method.

I could probably have done an XSL transformation too, but I didn't want to take the time to figure that out....


Stephanie - Aug 25, 2009 4:36:21 pm PDT #11019 of 25501
Trust my rage

So, a few weeks ago, Apple came out with a 2 TB time capsule and dropped the price on the 1TB time capsule. Is it just a price drop/TB increase? I guess what asking is, if I buy an "old" 1 TB TC for $300, is it the same as the new one?