I have an XML file which is being processed by XSLT, to produce another XML file.
Is there a simple way to know all of the possible elements/attributes in the original XML message that the XSLT will reference in order to produce the output file?
If I look at the example on the w3school.com site (http://www.w3schools.com/xsl/xsl_transformation.asp) then the catalogue XML contains items like price and year, but the XSLT will only pull catalog/cd/title and catalog/cd/artist.
So what I need is some kind of automated magic tool that can analyse xslt (maybe the input file schemas) to give me some kind of list of attributes that the output file will contain.
Thanks for any assistance
good imagination though! Well. Currently there are no such tools available which can analyse XSLT and let you know like ‘what all element/attribute it is referring in an XML file’! You have to do it manually ..