Subject:New to XML/XSL need help with output Author:Ryan Shaffer Date:20 Apr 2007 09:21 PM
I just started learning XML and am trying to create a KML file for use in Google Earth from an existing XML file. When using the Stylus trial, I am able to output to a file with no problems.
I'd like to be able to launch the XML, apply the transformation in the browser and automatically launch Google Earth. Here is my stylesheet element:
Subject:New to XML/XSL need help with output Author:Ryan Shaffer Date:24 Apr 2007 04:00 PM
Alberto,
Thank you for the response. Being new to XML/XSL I am not familar with adding a processing instruction. I quickly looked and do not understand what it actually does.
What I am struggling to understand is how I can take an XML document and transform it into another XML-based file type, such as KML. If I have Google Earth installed and click on a hyperlink to a KML file, it automatically launches the application to view the file. When I transform my XML to KML, I can't get it to do that.
Subject:New to XML/XSL need help with output Author:(Deleted User) Date:30 Apr 2007 10:31 AM
Hi Ryan,
you can convert an XML into a KML almost automatically by using the xml-stylesheet processing instruction, but that will only work *inside* a web browser; in order to have Google Earth started you need to actually double click on a .kml file, so you cannot automate the entire production and execution phases.