On 01/26/2011 09:10 PM, Rogers, Jim wrote:
> I just downloaded the personal edition and tried to do a conversion from
> xsl to rtf.
> 
>  
> 
> It runs but the output file is empty.
> 
>  
> 
> I am new to this and could use a lot of help.
> 
>  
> 
> Here are the command lines
> 
>  
> 
> cd C:\Program Files\XMLmind_XSL_Utility\bin
> 
>  
> 
> C:\Program Files\XMLmind_XSL_Utility\bin>xslutilc.bat foToRTF
>  H:\PO_STANDARD_XSLFO.xsl H:\PO_STANDARD_XSLFO.rtf
> 
>  
> 
> What am I doing wrong?

--> You cannot convert xsl to rtf, because xsl is not an input file,
it's the conversion specification. Please read this short tutorial to
understand how the toolchain works:
http://www.xmlmind.com/foconverter/how_it_works.html

--> I've created a short Flash screencast (
http://www.xmlmind.com/foconverter/images/xslutil2.htm ) to show you how
to proceed.

[1] For now forget about xslutilc.bat and instead double-click on
xslutil.exe. This will start a graphical application.

[2] The first thing to do is to register PO_STANDARD_XSLFO.rtf, your
conversion specification with XSL Utility. (Clicked the "Add" button.)

    [a] I have chosen to call the conversion poToRTF. I've specified
that it creates files ending with ".rtf". (Fields "Name:" and "Extension:".)

    [b] I have specified that the input file is transformed using
C:\tmp\PO_STANDARD_XSLFO.xsl. ("Transform" tab, "XSL stylesheet"
checkbox and field.)

    [c] Assuming that PO_STANDARD_XSLFO.xsl creates .fo intermediate
format, I've specified that this .fo intermediate is to be processed
using XFC (our technology). ("Process" tab, "Run XSL-FO processor"
checkbox and combobox.)

[3] Next you have to specify the purchase order you want to convert to
RTF. In the screencast, this purchase order is C:\tmp\po12345.xml.
("Input file" field.)

[4] Next you have to specify where the purchase order once converted to
RTF is to be created. In the screencast, I've typed C:\tmp\po12345.rtf
in the "Output file" field.

[5] Finally you have to click the "Convert" button and wait for a few
seconds for the .rtf file to be generated.

See Flash screencast:

http://www.xmlmind.com/foconverter/images/xslutil2.htm

More information:

http://www.xmlmind.com/foconverter/_distrib/doc/help/com.xmlmind.xslutil.ConversionEditor.html
 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to