| Subject: RE: [xsl] Select entire XML doc From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 4 Mar 2003 03:27:12 GMT | 
> > interchangeably with root or document element) means selecting the root node > containing the specified context node. So when you write > > <xsl:template match="/"> > > what you're saying is "select the root node of the document *and* the > document element." You could also do: > > <xsl:template match="/*"> > <xsl:copy-of select="."/> > </xsl:template> > > with the exact same results. no. these are different. / just matches the root node not the root node and top level element. if you xsl:copy that you'll get all the childreen including text nodes pis and comments. If you use /* you just get top level element nodes. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Select entire XML doc, Martinez, Brian | Thread | RE: [xsl] Select entire XML doc, Lars Huttar | 
| RE: [xsl] xsl/xml question, Wendy Ang | Date | Re: [xsl] Setting up style sheets i, Jarkko . Moilanen | 
| Month |