[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Nodes have the same level

Subject: Re: Nodes have the same level
From: Jon Gorman <jonathan.gorman@xxxxxxxxx>
Date: Wed, 31 Aug 2005 08:37:54 -0500
Re:  Nodes have the same level
Sorry about the cut off message that happened earlier......long story
short something dropped on my keyboard and I'm not quite sure what
magic combination of keys it managed to hit.

As I was saying, wrap it in a root node


then you can have a template that has
<xsl:template match="text:p">

It's not even clear what the problem is since typically for-each would
also iterate over a node set of items all at the same level.

Also, if part of the problem is you want to get the name for an
element from an attribute in the input XSL, it's not too hard.  There
were just some questions in a similar vein asked a few days ago.  The
archives should have the info.

Unless of course this is all just another namespace issue.  (Ie you
tried the "for-each" but it's just not returning anything.)  Namespace
is  a common beginner's probelm, again see the archives and the FAQ.

Jon Gorman

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.