I've been trying to develop a method by which I can import XML data into Indesign CS3 with it being already formatted. Indesign does support the use of XSLT stylesheets when importing xml. The problem is, I'm new to xml and have no clue how I can achieve what I want to do with the data. Is there an easy way that I can use XSTL to do what I want? The project that I'm working on has a time limit so I'm trying to get this done in the quickest way possible.
Is there an easy way to produce XSLT?
Collapse
X
-
Tags: None
-
Hi,
XSLT provides a way to convert any xml to any other xml (or even text). Or put in (really) simple words, you use XSLT as a kind of template, where you put in the data of your original xml.
how to make that template strongly depends on what your original xml looks like and what your output should be. There is a tutorial for XSL and XPath (the 'address system' for xml) at www.w3schools.c om (those got me started).
If you could provide (sufficient parts of) your xml (original and result) I can be of more help.
kind regards
PS: if you now the DOM (Document Object Model (used e.g. in html and JavaScript)) chances are that you will find it quite easy.
PPS: to answer your question - yes, there is. pay someone to do it for you (though this won't get You further)
Comment