RE: [xsl] XSl Import and double styles

Subject: RE: [xsl] XSl Import and double styles
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 10 Mar 2003 15:19:21 +0200
Hi,

> I have problem while importing XSL inside XSL.
> My problem is that I wish to import a stylesheet(say original.xsl)
> into a new stylesheet(say new.xsl).
> I donot know the structure of the original.xsl.
> 
[...]
> 
> In this file I wish to manipulate and display the contents of the tag
> <Annotation> from the new.xsl . That means I may wish to set the
> background for all child elements to be Yellow.
> 
> original.xsl already contains the xsl manipulations for other tags.
> Please somebody could advice how do I apply double styles to a tag
> contained inside ANNOTATION. eg. the tag <date>2002-08-29</date> has
> a template to set font in RED in stylesheet original.xsl. But now
> from stylesheet new.xsl I wish to set the contents of the tag
> Annotation to Italics or background to Yellow. SO that the tag <date>
> appears both in RED and
> Italics/Background-Yellow. Please remember that I dont have any
> knowlegde of
> origianl.xsl

<http://www.w3.org/TR/xslt#apply-imports>

Cheers,

Jarno - Funker Vogt: Fortunes Of War (vaporized mix by Velvet Acid Christ)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread