Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have XML files, for xslt transformation need to create XSL which consumes more times to create and difficult to find if any missed tags or invalid paramenter. Can anyone knows about auto XSL creation by given XML format?
Posted
Comments
Sergey Alexandrovich Kryukov 16-Apr-14 2:18am    
What do you mean by "format" here?
—SA

1 solution

The question makes no sense. XML sample or even an XML schema does not define XSL transformation (I hope you know that it means Extensible Stylesheet Language, http://en.wikipedia.org/wiki/XSL[^]).

XSL is designed to transform some class of XML document to some output, XML, plain text, HTML (very usual application), something like that. XSL is a function having XML on input and generating some output. It is theoretically impossible to restore some general function by finite set of input + output samples. However, it is sometimes possible to recreate such function based on set of samples (even one sample), with limited robustness. Such algorithms do exist. But even if you already had such algorithm, you would need to supply samples of both input and output, not just XML. That's why this question makes no sense.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900