[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Confused with templates and XPath
> > are you sure of that ? > > yes:-) > > > If I run saxon on the example document that you posted, I get: > > > $ saxon prio.xml prio.xsl > Recoverable error > Ambiguous rule match for /doc[1]/chapter[1]/para[1] > Matches both "//para" on line 8 of file:/c:/tmp/prio.xsl > and "chapter/para" on line 5 of file:/c:/tmp/prio.xsl > > > default-para : para1 > > default-para : para2 Out of interest Msxml 3, Saxon 6.5.3, 7.8, and Xalan 2.5.2 will give you: default-para : para1 default-para : para2 While Msxml 4 will give you: default-para : para1 chapter-para : para2 Maybe that is where the confusion comes from. cheers andrew 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
|