I was given an XML file and asked to create an XSLT style sheet to properly format it. The only problem I ran across is one that I believe can be handled with a simple Javascript. The XML file pulls data from a database, that we have no control over. The database has several formats that are not as desired in the output. For example--it has .75 for an item that must be formatted as 3/4 in the final output. I understand basically how to write the script, but do not really understand how to include it in the XSLT file, using the element names as such. Are there any examples that you could point me to, to assist? Also, if this is not the way YOU would do it, then what is a preferred method.
Thanks!!
Tamre
Thanks!!
Tamre