Calling multiple XSL for one XML-Urgent - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Calling multiple XSL for one XML-Urgent

1) I have a standard format of XML. Depending on the type(Defined on an attribute), I wish to call different XSLs. Is it possible. I am using Xalan. This way I can store a lot of complexity from one XSL to multiple XSLs. Is there an alternative. Like being able to call Java functions. And doing the same.

2) Also I tried to return HTML tages from java functions. But for tages with < and > its replaced by < and >. How can I overcome this


  • OverflowOverflow Posts: 12Member
    I have one XML document and multiple of XSL files, and I can associate one XSL file with this XML file using

    <?xml-stylesheet type="text/xsl" href="file.xsl"?>

    and I need to link some other XSL files with this XML file

    any idea??
  • Raf.BRRaf.BR Posts: 4Member
    Try the xsl elements:


    Note that the tag is a child of

    This webpage has a few simple examples:

    Rafael Abreu
    [email protected]
    ICQ: 2211834
Sign In or Register to comment.