webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Namespace and transformation in schema

  • 1.  Namespace and transformation in schema

    Posted Fri October 01, 2004 05:03 PM

    Hi,

    I want to store the following xml document with a stylsheet within it.




    … stuff

    xsl:stylesheet
    …my stylesheet document
    </xsl:stylesheet>


    How do I define a schema for this? It won’t allow me to specify the xsl prefix for stylesheet.

    J


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Namespace and transformation in schema

    Posted Fri October 01, 2004 08:36 PM

    Hello Jean,

    could you please let us know which version of Tamino you are using for this?
    The XML Schema “xs:import” element (which I believe has been supported since Tamino 4.1) enables the import of a schema definition from a different namespace (i.e. “xsl”).

    You should be able to store the XSL schema in Tamino, then import it into your schema with an xs:import and use the elements/attributes from the XSL schema within your own schema…

    If this doesn’t help you resolve the problem, please post your schema here.

    Thanks,
    Trevor.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Namespace and transformation in schema

    Posted Mon October 04, 2004 01:04 PM

    Thanks Trevor, I’ll give it a try.


    #API-Management
    #Tamino
    #webMethods