Re: msxml xsl import

Subject: Re: msxml xsl import
From: Mark Puckett <markp@xxxxxxxxxxxxx>
Date: Fri, 23 Jul 1999 17:50:15 -0700
Thanks for the suggestions.  I tried both but couldn't get either to work
with MSXML 5.0.  Has anybody done this with MSXML 5.0?

Here is what I'd like to do...

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
	<title>How The West Was Won</title>

<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY base-stylesheet SYSTEM "base.xsl"> ]>
<xsl:stylesheet xmlns:xsl="";>
	<xsl:template match="/">
		<xsl:apply-templates select="document/title"/>

<xsl:template match="title">
	Have you read <b><i><xsl:value-of /></i></b>?


Miloslav Nic wrote:
> Look at
> for the way I solved similar problem.

Jon Smirl wrote:
> base-stylesheet.xsl has to be a complete style sheet including the <?xml
> <xsl:stylesheet tags.
> A set of only templates does not work.

Mark Puckett wrote:
> 2) I'd like to create a base .xsl file with our most basic stylings and
> include them in all specific .xsl files rather than replicating the basic
> stylings in all .xsl files.  I found this example in MSDN:
> <!DOCTYPE xsl:stylesheet [
>   <!ENTITY base-stylesheet SYSTEM "base-stylesheet.xsl">
> ]>
> <xsl:stylesheet xmlns:xsl="";>
>   &base-stylesheet;
>   <xsl:template match="b">
>     [override <xsl:value-of/>]
>   </xsl:template>
> </xsl:stylesheet>
> but it doesn't work.  I then noticed the editors note on the page:
> "Open issue: Reevaluate since this method does not work :-( "
> Is there a way to do this with MSXML 5.0?
> -Mark

 XSL-List info and archive:

Current Thread