[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: I wrote an XSLT program that converts a mapping XM
Hi Folks, Thank you for your excellent responses! To answer your questions: > Does the mapping file have a way to express things that might be context or content dependent? Yes. There were cases in which multiple legacy elements had the same name, but with different parent elements, and they needed to be mapped differently. So, in my mapping file I added an attribute, e.g., <Facility_Elevation context="localizerMarker-elevation"> <Facility_Elevation context="transmitterSiteElevation"> The <Facility_Elevation> element occurred in two different places in the legacy file. I used a "context" attribute to distinguish them. > Did you use namespace-aliasing? Yes. namespace-aliasing is so cool, so powerful. I love namespace-aliasing. I learned the technique of using namespace-aliasing to enable one XSLT program to output another XSLT program from Rick Jelliffe/Schematron long ago. > Did you write the XSLT out to a file? Yes. /Roger
|
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
|