[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Mode in XSLT 3.0
> If that's what you're trying to achieve, then it isn't going to work:
you're trying to create packages that aren't sufficiently independent of
each other.
The insufficiency comes form XML document (DITA) content model itself. For instance: - concept/body can contain dl, ol, ul, p, table, etc... - p can contain inline elements ph, b, i, u, sup, sub. It also can contain block elements dl, ol, ul, table. - Inline elements ph, b, i, u can contain each other. - table/tgroup/tbody/row/entry can contain inline elements ph, b, i, u, sup, sub. It also can contain block elements dl, ol, ul, table. The content model is recursively defined. So it will be difficult to make independent package unless forcing all of the element template to be written in one package. Are there any effective ways to apply XSLT functions to this type of template modules? On 2017/07/23 1:10, Michael Kay wrote: The design doesn't allow you to construct a mode by combining template rules from two different packages, except for the specific case where a using package adds overriding template rules to a mode that is defined in a used package. If that's what you're trying to achieve, then it isn't going to work: you're trying to create packages that aren't sufficiently independent of each other.
|
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
|