[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Error 80004005 eof - Microsoft XML Parser (September Dro
Ben,
I can't speak to the MSXML, but.... .[ancestor::sidebar[1]] expands to self::node()[ancestor::sidebar[1]] which translates into English as "Are you a node with an ancestor sidebar that's your first sidebar ancestor?" This could be simplified as ancestor::sidebar[1] which translates as "Do you have an ancestor named sidebar that's the first sidebar ancestor?" But of course, if there are any sidebar ancestors, there's a first one: why not just ask ancestor::sidebar "Do you have any sidebar ancestors?" Now, you may actually mean ancestor::*[1][self::sidebar] which is XPath for "Is your first ancestor element a sidebar?" Or even better: parent::sidebar "Do you have a parent 'sidebar'?" Yet, to my eye there's nothing syntactically wrong with ".[ancestor::sidebar[1]]". So MSXML may have a bug, even if it's easy to avoid in this case. Someone else may be able to speak to differences between the MSXML builds. Hope that helps! Wendell At 01:55 PM 10/19/00 -0700, you wrote: I am having a problem with the September drop of the Microsoft Parser. ====================================================================== 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 ====================================================================== 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
|