Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] include problem

From: "Michael Kay" <michael.h.kay@------------>
To:
Date: 7/2/2002 12:35:00 AM
If you import two modules that contain global variables with the same
name, the two variables will have different import precedence, and all
references will access the variable with higher precedence.

If you include two modules that contain global variables with the same
name, you should get a compile-time error.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of shaik
> Sent: 02 July 2002 02:25
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] include problem
> 
> 
> Thanks. Now its working fine. 
> 
> Actually the problem was two imported xsl have the
> variable with the same name.
> 
> And i am trying to get the value of that variable. 
> May be processor confusing which value to display.
> Please correct me if i am wrong.
> 
> Can we reassign a value to an XSL variable ?
> Could you clarify this.
> 
> Thanks
> Shaik
> 
> 
> --- Michael Kay <michael.h.kay@xxxxxxxxxxxx> wrote:
> > > b.xsl includes c.xsl & d.xsl . if i include single
> > xsl
> > > file its working fine. But if i include more than
> > one
> > > getting an unspecified error.
> > 
> > Do you mean that the error message says "an
> > unspecified error has
> > occurred"?
> > 
> > Then I would try using a processor that gives you
> > better diagnostics...
> > 
> > > 
> > > As: In b.xsl
> > > 
> > > 	<xsl:include href="id2.xsl"/>
> > > 	<xsl:include href="id3.xsl"/>
> > > 
> > > Is it allowed use multiple include or import in an
> > xsl
> > > ?
> > 
> > Yes.
> > 
> > Michael Kay
> > Software AG
> > home: Michael.H.Kay@xxxxxxxxxxxx
> > work: Michael.Kay@xxxxxxxxxxxxxx
> > > 
> > > Thanks
> > > Shaik
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> > 
> >  XSL-List info and archive:
> > http://www.mulberrytech.com/xsl/xsl-list
> > 
> > 
> > 
> >  XSL-List info and archive:
> > http://www.mulberrytech.com/xsl/xsl-list
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent