Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

replace

Find and replace inside an XML file with XSLT
Monday, 15 August 2011 17:56
// description of your code here
//This XSL will search inside certain nodes of a given XML file
//for certain values and replace them.
//In my example I have a UnitOfMeasure node that contains "EA" or "FT" but I want to change
//the EA to 1 and the FT to 0.
//Also in my ObsoleteIndicator node I want to replace OBS with 1 and this other value I don't care about,
//DNR to empty string to basically remove it.
//So we end up with the exact same XML we started with just with those values translated.
//You could do the same with regular string.replace but it would be very slow for large XML files
//as it would have to visit every character in the entire file each time you called it (in my case
// four times.)



xmlns:xsl="http://www.w3.org/1999/XSL/Transform">








name="{name(.)}">














name="{name(.)}">














Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/-VCQPTtql60/13535

 
How to Ditch Netflix and Still Watch (Almost) Everything You Want [NetFlix]
Friday, 15 July 2011 17:20
You're outraged (OUTRAGED!) that Netflix's price hike has stolen your cheap movie rentals. In fact, you're going to delete your subscription. Forever. Now what? Here's how to replace Netflix in your life, from streaming to shiny plastic discs. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/0qgeBy8QYO4/how-to-ditch-netflix-and-still-watch-almost-everything-you-want

 
Nanogenerators Could Power a Bluetooth Headset With Your Pulse [Science]
Thursday, 16 June 2011 23:13
Scientists have developed the first self-powered nanogenerators that scavenge energy from their surroundings. They could someday replace conventional batteries in small electronics. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/irpq3SHbV_0/nanogenerators-could-power-a-bluetooth-headset-with-your-pulse

 
I Want to Order McDonald's From a Touchscreen Too [Blip]
Monday, 16 May 2011 11:33
I'm not envious of Europe often, but I'm super jealous of this: McDonald's in Europe is starting to roll out new touchscreen terminals that only accept credit/debit card transactions. This will replace cashiers and cash from the ordering process. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/ZoO-mfwlu1s/i-want-to-order-mcdonalds-from-a-touchscreen-too

 
(Try to) Map Your House with MagicPlan [Apps]
Friday, 22 April 2011 23:40
Should you ever need a floor plan of your home, bringing in a professional to do the measurements might be expensive. And time consuming! So MagicPlan wants to replace human work, automatically creating a map of your humble abode. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/J29o5eRxyY0/try-to-map-your-house-with-magicplan

 


Taxonomy by Zaragoza Online