This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: import?


:xsl:import is for importing stylesheets, ie for structuring your
:stylesheet out of smaller modules. So is no use at all for what you want
:to do.
Right I knew it could be used for smaller modules but
wasn't sure if it could be used for anything else.
Now I do.

:if your countries are in countries.xml then just go
:
:<xsl:apply-templates select="document('countries.xml')"/>
:
:and write some templates to transform your file
:into the list on your html.

By templates what do you meant exactly?
Are you talking xsl:template, xsl:apply-template
or do you mean a template for the document?

Could you provide me with an example of what 
do you mean by a template?

And Thanks again David.

Eddy


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]