[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xhtml via xslt failure
> An XSLT 1.0 processor will not observe XSLT 2.0 semantics even if the > stylesheet says "2.0". You haven't said what processor you are using. > Using jedit text editor with xml plug-ins. The documentation states that the default processor is xalan for xslt10 and xpath10, with option to use saxon9 (now using default). > apply-templates select="author", in contrast, selects all author > element children and applies templates to them. As you have not > provided an author, the built-in template for elements will be used; > it applies templates to the element contents, which results (unless > you intervene to change this behavior) in the element's data contents > (text node descendants) being copied into the result. > > Surely the statement: "...select='./author'..." provides details of the authors? > > Applying templates to the 'author' elements will result in whatever > output those templates specify. Matching an element with an empty > template is a normal way of suppressing its data from the results. > Can't see an empty template...
|
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
|