[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Parent of context node
Chris,
At 04:30 PM 5/22/2003, you wrote: Am I wrong that "../sg" should be true if the immediate parent of the context node is <sg>? Yup. "../sg" is short for "parent::node()/child::sg". Does that explain it? What you want is test="parent::sg". I haven't examined the rest of your template, so I can't say what else might be off, but your suspicion is correct so I'll leave it at that. Cheers, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|