Norman Walsh wrote:
> 
> | I first changed your proposed stylesheet with replacing "*" by "node()"
> | so no nodes (like processing instructions) would be lost in the process.
> 
> Did you mean "would NOT be lost"?
> 
> | But this has had no effect on the doctype declaration :-(
> 
> No reason why it should. But I can't say off the top of my head if it
> will actually copy comments and PIs.

node() selects all child nodes except attribute and namespace-prefix
ones. So it will copy also comments and PIs. 

-----------------------------------------------------------------
  Jirka Kosek                        
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz

Reply via email to