Discussion Locked

xsl:import

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am developing an xsl sylesheet, and am having trouble getting the xsl:import tag to be functional. I understand that the import has a lower precendence that the original stylesheet but here's what I'm trying to do:

Hotel Availibility List Results

...
...

Any help would be appreciated!!
Mac

6 replies

by geert pante

Hi Mac,

I'm not sure what you want to do here. I assume that if there is an Exception tag in the source, you want to append the Exception using the error.xsl at the end of the (empty) list.

In that case, you should call an somewhere in the template that matches the root ("/").

In your error.xsl you should of course match "Exception".

I don't know why you want to override the "Exception" template in this stylesheet? Do you want to apply specific local templates before the one from error.xsl?

greetings, Geert.

by geert pante

Hi Mac,

I'm not sure what you want to do here. I assume that if there is an Exception tag in the source, you want to append the Exception using the error.xsl at the end of the (empty) list.

In that case, you should call an somewhere in the template that matches the root ("/").

In your error.xsl you should of course match "Exception".

I don't know why you want to override the "Exception" template in this stylesheet? Do you want to apply specific local templates before the one from error.xsl?

greetings, Geert.

by mrost

Thank you for your answer. I have worked around my problem with the ASP file that I am using for this.
Thanks!
Mac

This discussion is closed to new replies.