Jump to content

Taglibs and xslt


Guest adrian

Recommended Posts

Hi, I got a question with working structs and xslt together. If I have a xml document which needs a stylesheet(xslt) to transform into different format, how can I load different resource bundles(if I have many messageresources) from struts in stylesheet? if someone knows how to implement the view level in struts, please help.Since we usually load the taglib in jsp file, how can I load the taglib in stylesheet? another namespace? Thanks.Adrián

Link to comment
Share on other sites

How to load the "XSLT taglib" (it would be better to call it "element set" if you ask me) - yes, by adding the XSLT namespace. If you've seen the XSLT tutorial, you'd know.What do you mean by "resource bundles"/"message resources"? XML files? If so, you can use XSLT's document() function.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...