|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Resolving ambiguities when overriding the identity rule (Was
Thanks to Dave Pawson I was alerted that this code raises a recoverable error (e.g. in Saxon 6.5.3: "Recoverable error Ambiguous rule match for /nums[1] Matches both "@* | node()" on line 5 of file:/(Untitled) and "*" on line 26 of file:/(Untitled)") Maybe I'm limited in some way, but I do hate to use priority (probably because setting explicit values strongly goes interferes with the otherwise implicit process of template matching). This is why here's a cheat: Replace: <xsl:template match="*"> with <xsl:template match="*[true()]"> Now everybody must be happy... Or are they? Cheers, Dimitre Novatchev FXSL developer, http://fxsl.sourceforge.net/ -- the home of FXSL Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools 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
|

Cart








