Subject: RE: [xsl] how to select elements in a given namespace? From: David.Cantrell@xxxxxxxxxxxxx Date: Mon, 17 Mar 2003 14:42:43 -0600 |
> > so what is the XPath expression to match, say, the > > <last-name> elements > > within this namespace? > > <xsl:stylesheet ... > xmlns:auth="http://whatever.auth.org'> > ... > select="//auth:last-name" > > > But as mentioned above, there is no such node in your XML > fragment. The <last-name> element is in no namespace, unless > you've declared a default namespace somewhere. Shouldn't this work then? //last-name Or does it not recurse into children of namespace-prefixed nodes? Thanks, -dave XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: how to select element, Robert P. J. Day | Thread | RE: [xsl] how to select elements in, Robert P. J. Day |
Re: [xsl] how to select elements in, Jeni Tennison | Date | RE: [xsl] how to select elements in, Passin, Tom |
Month |