This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Beginner's question
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Beginner's question
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 5 Oct 2001 11:31:45 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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