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

Re: general purpose tranformation language (Re: No side effe

Subject: Re: general purpose tranformation language (Re: No side effectsholycow. )
From: Paul Tchistopolskii <paul@xxxxxxx>
Date: Tue, 25 Apr 2000 10:08:06 -0700
paul selva general

> On Mon, 24 Apr 2000, Paul Tchistopolskii wrote:

> > That means when somebody is saying that "I'm producing XSLT 
> > stylesheet out of some other XSLT stylesheet, and I feel happy
> > ( or  I'm producing my Java code out of some other Java code )"
> > the only thing I can say is:  
> > "You are good hacker. You are good in writing viruses. So what?"
> 
> One reason why you might want to do that is multi-lingual stylesheets.

BTW - I have spend a long time ( 1+ year ) working for the startup 
that is specialized in writing localization software.  ( I mean that 
I know what is 'segment' , 'translation memory', TMX,  and stuff 
like that ).

> I have XML data that I would like to be processed by stylesheets that
> are similar but has some differences in headings and links.

Could you please explain what do you mean by 'some differences' ?

When localizing some document we can say that  there is 2 kinds 
of changes:

1. Changing the content ( translating it ;-)
2. Changing the layout ( for example, because words 
have different leght in different languages ).

Do I understand right that you are talking about (2) ?
( If you are talking about (1) - the way you are doing it 
looks suspicious to me and I can explain why.).

> So I want:
> hierarchy.xsl - my 'MASTER' language independent stylesheet.
> create_languages.xsl - which is applied to hierarchy.xsl (and others) to
> create:
> 
> hierarchy.EN.xsl
> hierarchy.DE.xsl
> hierarchy.FR.xsl
> hierarchy.NL.xsl
> etc. ad nauseum.
> 
> So good reasons where my 'code' is 'data'.

Are you sure you can not do the same, using 

hierarhy.xml

instead of 

hierarhy.xsl ?

( That was my point. And this invariant is always possible.)

Rgds.Paul.



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


Current Thread

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
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.