The XSL book I read says the correct way of indicating the XSL stylesheet is by using the XML processing instruction while Cocoon is using . Who is right?
The PI is the old method of associating a stylesheet with an XML document. Unfortunately, this technology is rapidly changing and your books should warn you that the topic they are discussing is not even in W3C Recommendation state. Which means that more changes are on their way. The current and proper way to associate a stylesheet with an XML document can be found at http://www.w3.org/TR/xml-stylesheet and clearly indicates that is the proper way.
Related Questions
- The XSL book I read says the correct way of indicating the XSL stylesheet is by using the XML processing instruction while Cocoon is using . Who is right?
- Can I just read a book, attend a parenting class, and talk with family and friends to get the help I need for my child or adolescent?
- An XSL stylesheet is an XML document, so it can have a DOCTYPE and be subject to validation, right?