[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xhtml via xslt failure

Subject: Re: xhtml via xslt failure
From: e-letter <inpost@xxxxxxxxx>
Date: Tue, 17 Dec 2013 17:26:55 +0000
 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...

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.