At 2011-09-26 00:00 +0100, Michael Kay wrote:
On 25/09/2011 23:40, G. Ken Holman wrote:
document('')/*/hank:months/month[@abbr=lower-case($mon)]/@num
That's common practice but I've never seen any advantage over using
a separate document.
The advantage to me is that it is self-contained without having to
manage the presence of the separate XML document.
When I'm using fragmented stylesheets and the structure is in another
XSLT fragment, I'm not worried about managing it because I have to
have the fragment around anyway for the import/include hierarchy.
. . . . . . . . . . Ken
--
Contact us for world-wide XML consulting and instructor-led training
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--