LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2007, 04:44 PM   #1
Tischbein
Member
 
Registered: Oct 2006
Distribution: debian
Posts: 124

Rep: Reputation: 15
xml to other formats


Dear All,

I'm just getting into XML. I understand that one of the promises of XML is taht one can combine XML with a customised XSL stylesheet and spit out the XML data in just about any other format I choose. Thus if I write a manual (my first toy example) I should be able to write a stylesheet that spits out the manual in conventional html; I can put it into a groffable format so that it can be used as a conventional command line man page; and similarly I should be able to convert it to a plain text file. Well:

- I've found texts that describe how to write XSL stylesheets. It even works when I point a browser at one of my XML files. Wow!

- However I can't find a way of getting hold of the xml file immediately after being processed by the stylesheet. I'd like a command that can take my stylesheet and XML such as "<TOG>CAT MAINTANANCE</TOG><P>Cat source code is freely..." and convert it to e.g. man page fodder of the form: ".SH CAT MAINTENANCE\nCat source...".

Obviously this can be done if I write a program that parses the xml but I was under the impression that the stylesheet could define the mapping so that no further programming was required. Is that not the case?

Regards, Tischbein

Last edited by Tischbein; 10-26-2007 at 04:46 PM. Reason: XSL not XLS ... sorry!
 
  


Reply

Tags
converting, xml



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
LXer: OpenDocument and the Move to XML Formats LXer Syndicated Linux News 0 05-29-2007 02:31 AM
LXer: StAX’ing up XML: Streaming API for XML LXer Syndicated Linux News 0 11-30-2006 07:54 AM
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog Fadoksi Linux - Software 1 07-16-2006 06:41 AM
.docx, .xlsx, .pptx, XML Office formats? microsoft/linux General 1 08-02-2005 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration