Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2008, 05:19 AM
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mkarthic
Default cals tables strurcure (XML) to indesign using vb

Dear All,


I am new to indesign. And i want know how to convert xml tables to indesign using Script (javascript or vbscript). I have big confused for this. Does any one Help Me...........


Thanks
Karthik


 
Old April 15th, 2008, 05:26 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Well first you need to have an idea of what your input XML will look like, and then an idea of what your output XML should look like.

Then you write a XSLT transformation that converts one into the other.

Then you use a tool to run that XSLT, which might be a command line tool (such as Saxon or AltovaXML to name but two) or use one of the scripting languages you mentioned to control the XSLT parser (e.g. MSXML).

/- Sam Judson : Wrox Technical Editor -/
 
Old April 15th, 2008, 11:45 PM
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mkarthic
Default

Hello sir,

This is my Cals Table structure
<table id="book11_Chapter_02_tbl2_1">
<legend><para><b>Table 2.1</b>. Comparison between Formal, Non-formal and Informal agencies</para></legend>
<tbl>
<tgroup cols="3">
<colspec colnum="1" colname="col1"/>
<colspec colnum="2" colname="col2"/>
<colspec colnum="3" colname="col3"/>
<thead>
<row>
<entry>Formal</entry>
<entry>Non-formal</entry>
<entry>Informal</entry>
</row>
</thead>
<tbody>
<row>
<entry>Constitute an organised body, hierarchically structured and run by the government or voluntary organisations.</entry>
<entry>Constitute some organised body, generally self-governing and democratic.</entry>
<entry>Do not constitute an organised body.</entry>
</row>
<row>
<entry>Have structured planning, as prescribed by the apex educational institutions of the state.</entry>
<entry>Have structured planning, but flexible and learner-centred.</entry>
<entry>No planning involved and learning process is not structured.</entry>
</row>
</tbody>
</tgroup>
</tbl>
</table>

I want know how to convert this element structure to indesign. And Currently i am not having any XSLT transformation. Is it possible Without XSLT transformation to convert indesign.

Please Help Me..........


Thanks
Karthik

 
Old April 16th, 2008, 02:01 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

If it is possible without XSLT then this is the wrong forum to be asking it in.

By indesign I take it you mean Adobe Indesign? Does it have an XML format? Or can it import one? What does your output need to look like. Without knowing this we can't answer your question.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
very urgent:cals table to indesign table using xsl franklinclinton XSLT 1 December 16th, 2009 03:48 PM
implementing indesign files in asp.net gopsy_25 .NET Framework 1.x 2 September 23rd, 2009 01:04 PM
CALS to HTML Transformation RussellKay XSLT 1 May 11th, 2009 06:46 AM
VB.net, adding XML data to an existing XML file saikoboarder XML 11 April 17th, 2008 04:19 PM
Web Services and Windows CALs leavinmate .NET Web Services 2 August 6th, 2003 08:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.