[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: <xsl:insert> - Further Description

  • From: tpassin@h...
  • To: "Xml-Dev@Xml. Org" <xml-dev@x...>
  • Date: Mon, 24 Jul 2000 22:44:48 -0400

xsl insert
Jim Garrett has been asking for help with his complex stylesheet situation:
>
>
> What I am doing is attempting to do is use a master xsl (listing 1)
> sheet as a template for all pages on a web site...
>
> This way I can just copy a new instance of the master and
> only have to change the maincontent.xsl sheet that has
> the different content for each page ...the logo, menu,
> footer would not have to be edited in all the copies of
> the templates...rather the logo, menu, footer, would only
> have to be edited just once in their respective xsl files
> in order to propagate throughout all the instances of the
> master template...
>
>
Trouble is, Jim, I can't see what your problem is.  It would be better if
you showed a before and after version, since xslt performs
***transformations***.  You show places where it looks like xsl:insert
works, then you say it doesn't.  What transformation does not work with it?
If you only show the style sheet, everything stays abstract and we have to
guess what you are trying to accomplish - basically do a reverse engineering
job.   Show the untransformed and the transformed files, and highlight the
parts that need to change for different sites.  Then show examples of the
kind of changes you need to accomodate.  Preferably, don't show everything,
just representative examples that do and don't work.

Seems to me that this would be a good place to use global parameters -
although how to set them (if you can) is xslt-processor
implementation-dependent.  You could pass in all kinds of file names and
settings that way.

Maybe your page design is too complex.  Maybe you should be doing it in
frames. But we can't tell.

Cheers,

Tom Passin


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.