Thnks alan, for the suggestion. It sounds like the way to go using
XSLT.
Either way I guess I am on the right track, gather data into a DOM
structure and let the transformers worry about format-conversions...,
right?
And when I get to learn XSLT, all I/someone will need to change is my
custom transformers to use XSLT for formatting... right?
Thanks.
> > I am having to interface data from different databases in my
> > org to other orgs (so far within the company).
[quoted text clipped - 50 lines]
> - http://engrm.com/blogometer/index.html
> - http://engrm.com/blogometer/rss.2.0.xml
alan@ljubljana.agtrz.com - 20 May 2005 21:38 GMT
> Thnks alan, for the suggestion. It sounds like the way to go using
> XSLT.
> Either way I guess I am on the right track, gather data into a DOM
> structure and let the transformers worry about format-conversions...,
> right?
Sure. Pull the XML document into a DOM. Then create a simple interace that
take the DOM and emits a byte stream. Simple. It will buy you time to
learn about XML pipelining and XSLT.
> And when I get to learn XSLT, all I/someone will need to change is my
> custom transformers to use XSLT for formatting... right?
The transforms you described, to CSV, positional text, etc. They
all exist as XSLT somewhere. There is a mailing list called xsl-list that
you can Google. I'm on it. It is a very helpful community.
Using XSLT as the langauge to describe the output probably your best bet.
Look over that book I linked. You'll see that they discuss format
conversion strategies.
Cheers.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml