XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Durga PrasadSubject: Create and Edit .FO file directly
Author: Durga Prasad
Date: 13 Dec 2004 03:52 PM
I want to be able to create .Fo file directly and watch the preview
PDF file. Is it possible with stylus studio ??

I don't need to use either xml or xsl, basically i want to hardcode the
.fo file directly from scratch.

How can i do that ??

Any help appreciated..

Postnext
Ivan PedruzziSubject: Create and Edit .FO file directly
Author: Ivan Pedruzzi
Date: 13 Dec 2004 05:03 PM
Originally Posted: 13 Dec 2004 05:01 PM
Hi Durga,<br> <br> <br> We currently don't have this functionality built-in.<br> I added your suggestion to our database.<br> <br> As workaround you can use the attached XSLT to preview the result.<br> You need to configure the scenario properties to point to your XML file<br> <br> Hope this helps <br> Ivan


Unknowndoes-nothing.xsl

Postnext
Durga PrasadSubject: Create and Edit .FO file directly
Author: Durga Prasad
Date: 13 Dec 2004 06:02 PM
what if i don't depend on xml either.
i guess i need to use a dummy xml file too..

Thanks
Durga

Postnext
Ivan PedruzziSubject: Create and Edit .FO file directly
Author: Ivan Pedruzzi
Date: 13 Dec 2004 06:36 PM
If I have understood correctly you are authoring FO using the XML editor.
You are already working with an XML file, you just need to point
the XSLT scenario to the file you are authoring.

Ivan

Postnext
Durga PrasadSubject: Create and Edit .FO file directly
Author: Durga Prasad
Date: 14 Dec 2004 01:19 PM
I have a LotusNotes application with which i am generating hardcoded
.fo file(similar to generating text file and saving it as .fo file)
which will contain the fo tags and data. I am giving it as input
to the FOP software using a batch file.
Shell(|C:\FOP\viewfop.bat "C:\FOP\reservation.fo" "C:\FOP\reservation.pdf"|, 1)
when the shell statement executes it will create the pdf file.

This solution works just fine for me, as it doesn't require any XML and XSLT

Here i know how the output PDF should look like so now i am trying to
build a FO file accordingly, and i am looking for an editor which will
create and let me preview the FO file.

Postnext
Ivan PedruzziSubject: Create and Edit .FO file directly
Author: Ivan Pedruzzi
Date: 14 Dec 2004 04:53 PM
Durga <br> <br> what you have called <<" ... hardcoded .fo file(similar to generating text file and saving it as .fo file) <br> ">><br> arean XML documents; FO is XML.<br> <br> Now what I have suggested was to open those .fo files using the Stylus Studio XML Editor<br> do the editing you need then open the xslt i sent you using <br> the XSLT editor and configure the scenario properties (only one time).<br> <br> then run the preview as many time you want to see the result as PDF.<br> <br> I posted some screenshots to show the process<br> Hope this helps<br> Ivan<br>

Postnext
David BartellSubject: Create and Edit .FO file directly
Author: David Bartell
Date: 25 Feb 2019 02:54 PM
This thread is very old. Is there now a way to edit the .fo file directly? Where is it kept? Or can I enter .FO code into the XSL file directly. (Looking to control page breaks for tables, for one thing.)

Postnext
Ivan PedruzziSubject: Create and Edit .FO file directly
Author: Ivan Pedruzzi
Date: 25 Feb 2019 03:09 PM
I am sure how this thread applies.

The original poster had an FO document created with a third-party tool that he wanted to convert to PDF using Apache FOP.

When using Stylus Studio XML Publisher, FO is generated when you click the button and embedded in either XSLT or XQuery.

Yow will need to generate the code and then modify the FO grammar.


Ivan Pedruzzi
Stylus Studio Team

Postnext
David BartellSubject: Create and Edit .FO file directly
Author: David Bartell
Date: 08 Mar 2019 08:00 PM
So when I run Apache and get error messages, there is no way to relate them (e.g. line number) back to the stylesheet, right? How can I troubleshoot?

Posttop
Ivan PedruzziSubject: Create and Edit .FO file directly
Author: Ivan Pedruzzi
Date: 08 Mar 2019 08:53 PM
Set the output URL in the scenario dialog, on every run the FO will be saved on disk, you can keep the FO open in Stylus Studio


Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.