This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Multiplatform processing from the same source


Ahh, I had forgotten about the aspect that xsl:import was a top-level element and that it gets processed before the other stylesheet elements (like xsl:choose). Thanks for the reminder Rune!

- Dan

----- Original Message ----- From: "Rune Enggaard Lausen" <rune@enggaard-lausen.dk>
To: "Dan Gilleland" <dagilleland@shaw.ca>
Cc: "Paul A. Hoadley" <paulh@logicsquad.net>; <docbook-apps@lists.oasis-open.org>
Sent: Friday, September 10, 2004 6:51 AM
Subject: Re: [docbook-apps] Multiplatform processing from the same source




I don't think this will work, if I understand you correctly.


According to the excellent book "XSLT Programmer's Reference" by Mickael Kay, <xsl:import> is a top-level element, and xsl:choose is not. In other words: xsl:import must be a direct child of the xsl:stylesheet element, while xsl:choose is an instruction and must appear within a template body.

I still believe XML catalogs are the only "clean" way to solve the problem.

Best regards,

Rune Lausen




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 9/10/2004



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]