[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML to XML transformation using XSD
If the structures are identical other than some of the element
and attribute names, you could write a rule-based XSLT sheet
that replaces the names. This would get very tedious if there are a lot of names to be changed. The XSD is not relevant to the process except to inform you in writing the transformation. It simply doesn't carry the information needed to bridge the gap. I suppose one could write an XSLT that would examine both the XSD and the sample file, make an attempt at guessing the transformation based on certain structural similarities, and output templates based on these guesses. But you would still have to work through the result to ensure that it was correct, and you would be more likely to overlook something. Lukacsy Gergely wrote: Hello! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|