Re: Only child pattern -- XT bug or my failure?
Okay, I tried Saxon -- I got instant-saxon -- and indeed it did work as I expected. So, other than the fact than the fact XT suffers from a bug here, what is the difference? We've been long-time happy users of James Clark's many fine SGML tools, so I had a natural inclination to use XT. We've been using XT for simpler conversions for six months but now I am on an ambitious revamp of some of our processes and had hoped to rely on XSLT. On Wed, 7 Jun 2000, Warren Hedley wrote: > > Looking at the XSLT recommendation, I see > > that the correct match should be DOC/DIV[last()=1]. However, when > > documents have multiple divisions (that is, they are correctly marked up > > with no superfluous wrapping DIV), the first DIV gets matched and the > > template gets applied; siblings get left alone. > > This isn't probably much help - based on the attached results, I can > only really suggest you try Saxon. 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