cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: removing the pi
Date Fri, 23 Jul 2004 15:41:48 GMT
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message