cancel
Showing results for 
Search instead for 
Did you mean: 

xsl validations

former_member189354
Contributor
0 Kudos

Is there any way to code XSL such that the output of XSL will validate aganist output schema?. One more query, Is XI will support XSLT 2.0 ?

Regards,

MM.RAO.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi MM.RAO -

Currently, XSLT 2.0 is NOT supported by the standard XI transformation engine.

Regards,

Jin

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Jin,

I know I might be wrong. But, are you sure that Xi does not support XSLT 2.0?? If yes, then can only use XSLT 1.0??

Regards,

Bhavesh

udo_martens
Active Contributor
0 Kudos

Hi Bhavesh,

Aeh, it would be new 4 me that XSL 2.0 is supported. Why do you think it would be? Did you test that?

Regards,

Udo

Former Member
0 Kudos

Hi Bhavesh -

Yes, XI uses the SAP XML Toolkit library (sapxmltoolkit.jar) and currently, this only supports 1.0. Unfortunately, I cannot tell you at the moment when support for XSLT 2.0 will be available.

Regards,

Jin

Former Member
0 Kudos

Hi,

YES XI does support XSLT 2.0 ....

The links below have some good tutorials for XSL. Just need to go through them to do things on your own...

http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm

http://www.zvon.org/xxl/XSLTutorial/Output/index.html

http://www.topxml.com/xsl/tutorials/intro/default.asp

http://nwalsh.com/docs/tutorials/xsl/

Also, for info on the XSL specification, check this link,

http://www.w3.org/TR/xslt20/

I hope I have answered your query.

Regards,

Abhy

PS: AWARD POINTS FOR HELPFUL ANSWERS.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

<b>//XI will support XSLT 2.0 ?</b>

Yes, XI does support xslt gtransformation 2.0 Check this link on the same,

http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm

For reference to methods on the XSL using which you can perfrom validations, I would suggest that you go to thuis link,

http://www.w3.org/TR/xslt20/

http://www.w3.org/TR/xslt20/#xsl-if

http://www.w3.org/TR/xslt20/#validation

XSL Allows validation using IF, select case ,etc. You can go through these links to understand them better.

Regards,

bhavesh