Topic
  • 3 replies
  • Latest Post - ‏2013-01-09T19:15:25Z by swlinn
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic What are all the values for the type attribute of the dp:param element?

‏2013-01-08T21:23:11Z |
Where can I find a list of all of the values for the "type" attribute of the dp:param element?

That is, where can I find any docs/references related to it?
Updated on 2013-01-09T19:15:25Z at 2013-01-09T19:15:25Z by swlinn
  • HermannSW
    HermannSW
    4657 Posts

    Re: What are all the values for the type attribute of the dp:param element?

    ‏2013-01-09T09:46:40Z  
    Hi Joseph,

    > Where can I find a list of all of the values for the "type" attribute of the dp:param element?
    >
    you can find all the types in "store:///xml-mgmt-base.xsd".

    > That is, where can I find any docs/references related to it?
    >
    http://pic.dhe.ibm.com/infocenter/wsdatap/v5r0m0/index.jsp?topic=%2Fcom.ibm.dp.xs.doc%2Fextensionfunctions233.htm

     
    Hermann<myXsltBlog/> <myXsltTweets/>
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: What are all the values for the type attribute of the dp:param element?

    ‏2013-01-09T18:19:03Z  
    • HermannSW
    • ‏2013-01-09T09:46:40Z
    Hi Joseph,

    > Where can I find a list of all of the values for the "type" attribute of the dp:param element?
    >
    you can find all the types in "store:///xml-mgmt-base.xsd".

    > That is, where can I find any docs/references related to it?
    >
    http://pic.dhe.ibm.com/infocenter/wsdatap/v5r0m0/index.jsp?topic=%2Fcom.ibm.dp.xs.doc%2Fextensionfunctions233.htm

     
    Hermann<myXsltBlog/> <myXsltTweets/>
    Well, the extension docs say the value must be "dmString" and that's all. We all know this isn't true. I realize now, though, there's no reasonable way to provide full documentation for this.

    The "store:///xml-mgmt-base.xsd" and "store:///xml-mgmt.xsd" answered most of what I was looking for.

    I also learned there was a "markup" attribute for the "description" element under dp:param. It can be "html", and I suspect that's the only alternative to the default.

    What I started out looking for was the attribute to use, if any, to help define a reference to a document, in the same way choosing the XSL Stylesheet for the transform action shows it.
  • swlinn
    swlinn
    1348 Posts

    Re: What are all the values for the type attribute of the dp:param element?

    ‏2013-01-09T19:15:25Z  
    Well, the extension docs say the value must be "dmString" and that's all. We all know this isn't true. I realize now, though, there's no reasonable way to provide full documentation for this.

    The "store:///xml-mgmt-base.xsd" and "store:///xml-mgmt.xsd" answered most of what I was looking for.

    I also learned there was a "markup" attribute for the "description" element under dp:param. It can be "html", and I suspect that's the only alternative to the default.

    What I started out looking for was the attribute to use, if any, to help define a reference to a document, in the same way choosing the XSL Stylesheet for the transform action shows it.
    What I've been told is that dmString is the only documented type as it is the only supported type. Granted, I'm sure the other types in the xsd are used by the web-gui for configuration purposes, but without knowing the other elements of the dp:param associated with the type, you can't really use it as you've found out. The fact that these are not supported would allow the web-gui to change without concern of impacting anyone using a supported type. I'd recommend opening a request for enhancement to document (and thus support) the additional types. I think it is a valid RFE, particularly when you have a stylesheet that you want to parametrize, for example a parameter that is either a file on the file system or an object that can be dynamically specified on an extension function (SSL Proxy Profile comes to mind), but I'm sure there are other use cases. The link to the RFE site is http://www.ibm.com/developerworks/rfe/?PROD_ID=577. The more customer requests for a particular enhancement, the better the chance it gets moved up in the product roadmap.

    Best Regards,
    Steve