Subject: RE: [xsl] Selection of Just Attribute Nodes and Element Child Nodes From: <Martin.Borgars@xxxxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 28 Jun 2004 09:47:34 +0100 |
/foo/barChild/@* | /foo/barChild/* -----Original Message----- From: Ramkumar Menon [mailto:ram.menon@xxxxxxxxxx] Sent: 28 June 2004 09:39 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Selection of Just Attribute Nodes and Element Child Nodes Importance: High Hi, How do I select just the attribute nodes and element children from a context node using XPath? for e.g. <foo> <barChild at="2" anAt="3"> <barGC> .... </barGC> </barChild> <anotherBarChild> <abGC> ... </abGC> </anotherBarChild> </foo> Here what would be the query to retrieve all the child nodes and attributes for barChild ? /foo/barChild/?????? In this case, I need to get just "at", anAt" and "barGC" as results. thanks, Ram --+------------------------------------------------------------------ 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@xxxxxxxxxxxxxxxxxxxxxx> --+-- ______________________________________________________________ CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While Marlborough Stirling has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage, which you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. Marlborough Stirling plc, Registered in England and Wales Registered No. 3008820, Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH Tel: 01242 547000 Fax: 01242 547100 http://www.marlborough-stirling.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Selection of Just Attribu, M. David Peterson | Thread | Adding Variables, John Dwyer |
Selection of Just Attribute Nodes a, Ramkumar Menon | Date | RE: [xsl] Selection of Just Attribu, M. David Peterson |
Month |