Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting XML table output with XML

Status
Not open for further replies.

TMFSpeck

Technical User
Apr 2, 2004
1
US
I'm new to InDesign (using CS) and page layout in general (I'm primarily a web designer). I've been able to successfully map paragraph styles to XML tags, export the XML, and transform with XSL into an HTML version of my InDesign document -- no small feat for me since I'm not an expert<g>.

I have several tables in my document and have output the "default" table data into my XML file and it looks something like this:
Code:
<Story>
	<aid:table xmlns:aid="[URL unfurl="true"]http://ns.adobe.com/AdobeInDesign/3.0/">[/URL]
		<aid:tbody>
			<aid:tr>
				<aid:td>Pick Date</aid:td>
				<aid:td>Name</aid:td>
				<aid:td>Symb.</aid:td>
				<aid:td>Class</aid:td>
				<aid:td>Price</aid:td>
				<aid:td>Yield</aid:td>
				<aid:td>Total Return</aid:td>
				<aid:td>Index Return*</aid:td>
				<aid:td>Rtn. vs. Index</aid:td>
			</aid:tr>
		</aid:tbody>
	</aid:table>
</Story>
Is there a fairly straightforward way to transform such tags with XSL? If not, what is the best way for me to go about outputting and transforming table data from InDesign?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top