Man, why didn't i think about that !!!
Shame on me.
Upayavira wrote:
Lionel Crine wrote:
This is what I did but I thought already exist.
All you really need is an XSLT with a single match:
<xsl:match pattern="/|*|@*|text()|comment()">
<xsl:copy>
<xsl:apply-templates select="*|@*|text()|comment()"/>
</xsl:copy>
</xsl:match>
It is an 'identity' transform, but it excludes the
processing-instruction() test, which means they won't get into the output.
Regards, Upayavira
Leszek Gawron wrote:
Lionel Crine wrote:
Hi all,
I'like to remove the pi (<?pi ?>) in my documents with SAX. Is it
possible ?
Otherwise, How can I do that ?
Thanks.
I think it should be possible via a custom transformer that spits
everything it gets except for PI
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Lionel CRINE
Ing�nieur Syst�mes Documentaires
Soci�t� : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]