tailieunhanh - Introduction to XSLT Concepts phần 6

C bắt đầu với một quá trình cuốn sách mới bắt đầu C Scan Jeni Tennison của C đã đọc một số mã TỐT (stylesheets DocBook Norm Walsh của) C Mua Michael Kay của Lập trình viên của tham khảo (và / hoặc ám ảnh Zvon) C đọc các danh sách XSL và hỏi câu hỏi * URL cho tất cả các bên trên là trong các phụ lục | Introduction to XSLTConcepts slide 84 How to Learn XSLT Start with a course Scan Jeni Tennison s beginner book Read some GOOD code Norm Walsh s DocBook stylesheets Buy Michael Kay s Programmer s Reference and or haunt Zvon Read the XSL list and ask questions URLs for all the above are in the appendices slide 85 Debbie s XSLT Programming Pearls Optional this is programmer stuff Don t Fight XSLT use the language for what it is good for. Not all data is trees or OHCO Ordered Hierarchy of Content Objects . Don t curse it because it won t do YYY reach for another language. In XSLT variables are constants within scope and do not vary. 90 of all XSLT bugs are XPath bugs. What is your context An XPath to nowhere goes nowhere however cleverly written. When all else fails rewrite your code as simple templates then debug those. Mjlburry Twin nr. ogles Inc. Page 45 Introduction to XSLTConcepts slide 86 Now Let s Look at Some Real Stylesheets xsl template match address address xsl apply-templates select affil subaffil xsl apply-templates select aline city cntry email fax phone postcode province state web address xsl template xsl template match affil affiliation xsl apply-templates affiliation xsl template xsl template match subaffil subAffiliation xsl apply-templates subAffiliation xsl template xsl template match aline city cntry state province postcode line xsl apply-templates line xsl template xsl template match phone fax email web xsl copy-of select . xsl template Wjlburry Tachinữĩjgiú Inc. Page 46 Introduction to XSLTConcepts End Speech Start References slide 87 For Further Information XSL FAQ at http xsl W3C XSL info http Style XSL XSL-List Mailing List Nice to Newbies See http xsl xsl-list The W3C Recommendations programmers only XSLT Recommendation http TR xslt XSLT Recommendation http TR xslt2 0 Working Draft in Nov 2004 was the latest when this was written in January 2o05 .

TỪ KHÓA LIÊN QUAN