Question: I have a case study where i need to reject xml record if it is not in format
 `hh:mm:ss`. Can any1 help me how we can do that using xslt's.

```
<Data>
    <rec>
       12:32:56
    </rec>
    <rec>
       20141104093903
    </rec>
<Data>

```

so it should reject the second record....

Answer: 
Hoang's answer should not be acceptable, because it requires you to locally make changes to a node module from the NPM registry.

What happens when someone pulls your repository, and runs NPM install ... or if you update the module?

The fix: I came across the same problem and found that simply updating node (using NVM in my case) fixed it for me.
I've the same problem.
Go to grunt-contrib-cssmin/node\_modules/maxmin/node\_modules/gzip-size/node\_modules/browserify-zlib
and install the readable-stream module

> 
> 
> > 
> > npm install readable-stream
> > 
> > 
> > 
> 
> 
> 

Then modify this file grunt-contrib-cssmin/node\_modules/maxmin/node\_modules/gzip-size/node\_modules/browserify-zlib/src/index.js

* replace:

> 
> 
> > 
> > var Transform = require('\_stream\_transform'); 
> > 
> > 
> > 
> 
> 
>
* by:

> 
> 
> > 
> > var Transform = require('readable-stream').Transform;
> > 
> > 
> > 
> 
> 
>

It works for me and I hope this could help you.