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

Re: Axis specifers

Subject: Re: Axis specifers
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 16 Jan 2007 12:45:16 -0500
Re:  Axis specifers
Hi,

I'm concerned that the OP is not only unsure of how templates work, but also not really getting it when we use terms like "parent", "child", "sibling".

These are technical terms that refer to the relative positions of elements (and other nodes) in an XML document when it is parsed and presented to the processor as a "tree" (another technical term).

If the OP has

<list>
  <note>...</note>
  <note>...</note>
  <text>...</text>
</list>

and believes that one of the notes is the parent of the other, or that the parent of the text element is a note -- Houston, we've got a problem.

Like Mike, I gave up on my first attempt to provide help here, because too much had gone amiss (the code was far more complex than the problem seemed to warrant) and it was not clear to me what explanations would help. Now I'm even more concerned.

Maybe it's time to ask the OP what references he or she has used to read up on the basic concepts of XSLT, and perhaps to guide him to better ones. That might be the place to start.

At 12:02 PM 1/16/2007, it was written:
> I want both the note elements to appear above the text element. Right
> now, with my code, the second NOTE element overlaps with the number 1.

That's clearly a problem, but unless we're shown all the pieces including the output you're presently getting, it's anyone's guess what might account for it.


Complete but miniature examples please. We're volunteers!

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.