xsl-list
[Top] [All Lists]

Re: [xsl] FW: Filtering xml output

2006-12-18 08:02:38
"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























        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>