Re: [xsl] FW: Filtering xml output

Subject: Re: [xsl] FW: Filtering xml output
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 18 Dec 2006 16:02:18 +0100 (CET)
"Campbell, Peter" wrote:

  Hi

> I am receiving the following xml via SOAP, and I want to
> filter out all the <CollectionStructure> Elements that
> have PESTCRTL2 in the <Reference> node.

  Look for the Identity Template in the FAQ.  You create the default
copying template rules for "node()|@*", then you add a template rule
for CollectionStructure where Reference equals PESTCRTL2 to do nothing:

    <xsl:template match="
        CollectionStructure[Reference eq 'PESTCRTL2']/>

  Regards,

--drkm























	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com

Current Thread