===== Converting XML to Another Format ===== InqScribe exports XML that looks like this: Line 1. Line 2 But sometimes you may want to convert this XML to another format, like this: 00:00:00.00 00:01:00.00 Line 1. 00:01:15.00 00:03:00.00 Line 2. You can do this fairly easily using a technology called XSLT. We won't go into XSLT in depth here. If you want to read up on XSLT, try these starting points: * http://www.w3schools.com/xsl/xsl_intro.asp * http://www.xml.com/pub/a/2003/11/26/learnXSLT.html Here are a couple of good, free XSLT processors you can use to do the actual conversion. * Mac OS X: http://www.entropy.ch/software/macosx/#testxslt * Windows: http://www.architag.com/xray Now for the good stuff. Here's an example XSLT file that will convert the sample XML output above into the desired "myformat". A few comments about this example: * "//scene" means find every node in the XML file. * means take the value of the current (.) node. Since we've looping over all scene nodes, that grabs the transcript text associated with each scene in the output. * Since "in" and "out" are XML attributes, not notes, you use the @ sign to refer to them. * Note that if you want to assign values to attributes of a note, you can use a slightly different notation. For example, if you want out that looks like '''', you'd use this XSLT code: ''''. Hopefully this makes InqScribe's XML output even more useful to you.