This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Beginner's question


> How would I transform the XML doc to another XML doc that 
> contained just 
> the <site> element with a given <uid> (the output to include 
> all child 
> elements of site)?
> 
> I said it was a simple question!
> 

<xsl:copy-of select="//site[.//uid=$param]"/>

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]