This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: condition attribute + XSL + doctype declaration
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: jirka@kosek.cz
http://www.kosek.cz