You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Si Chen <si...@opensourcestrategies.com> on 2006/12/06 21:02:05 UTC

html to xsl:fo transformers?

Hi.

Does anybody know of an open source html to xsl:fo transformation  
(via xslt) possibly?

This is what I'd like to do: be able to have a tag like <html-xslfo>  
which can be used like this
                                <platform-specific><html-xslfo>
                                     <html-template  
location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></html>
                                 </platform-specific>

and then the contents of a myPage.ftl to xsl:fo and output as PDF.

Best Regards,

Si
sichen@opensourcestrategies.com




Re: html to xsl:fo transformers?

Posted by David E Jones <jo...@undersunconsulting.com>.
On Dec 6, 2006, at 3:01 PM, Si Chen wrote:

> You're right.  I just ready the license for the XSLT.  It seems to  
> me to be pretty much the MIT Public License plus this clause:
>
> both the above copyright notice(s) and this permission notice  
> appear in supporting documentation.
>
> I wonder if that would make it incompatible with Apache license?   
> What exactly does it mean?

It means a notice would have to go in the NOTICE file.

> JTidy's license is here: http://aurora.regenstrief.org/~schadow/ 
> text/jtidy/LICENSE
>
> It's copyrighted the W3C consortium, but what exactly does this  
> license mean?

Look in the LICENSE/NOTICE files, there is a W3C licensed file  
already in place. Guess which one it is too... ;)

-David


> On Dec 6, 2006, at 1:42 PM, Chris Howe wrote:
>
>> The xsl contains the licensing information.  The other
>> links were provided for background since the xsl is
>> meant to accompany antennahouse's product and there
>> may be some snags.
>>
>> --- Si Chen <si...@opensourcestrategies.com> wrote:
>>
>>> Thanks.  They all point to the transformer by
>>> antennahouse.  Do they
>>> have any license information on it?
>>>
>>> On Dec 6, 2006, at 12:20 PM, Chris Howe wrote:
>>>
>>>> I had done a similar search before and came across
>>>> this page.  However, I haven't tried his
>>>> implementation yet.
>>>>
>>>>
>>>
>> http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
>>>>
>>> http://www.antennahouse.com/XSLsample/XSLsample.htm
>>>>
>>>
>> http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/ 
>> xhtml2fo.xsl
>>>> --- Si Chen <si...@opensourcestrategies.com>
>>> wrote:
>>>>
>>>>> Hi.
>>>>>
>>>>> Does anybody know of an open source html to
>>> xsl:fo
>>>>> transformation
>>>>> (via xslt) possibly?
>>>>>
>>>>> This is what I'd like to do: be able to have a
>>> tag
>>>>> like <html-xslfo>
>>>>> which can be used like this
>>>>>
>>>>> <platform-specific><html-xslfo>
>>>>>
>>> <html-template
>>>>>
>>>>>
>>>>
>>>
>> location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></ 
>> html>
>>>>>
>>>>> </platform-specific>
>>>>>
>>>>> and then the contents of a myPage.ftl to xsl:fo
>>> and
>>>>> output as PDF.
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Si
>>>>> sichen@opensourcestrategies.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>> Best Regards,
>>>
>>> Si
>>> sichen@opensourcestrategies.com
>>>
>>>
>>>
>>>
>
> Best Regards,
>
> Si
> sichen@opensourcestrategies.com
>
>
>


Re: html to xsl:fo transformers?

Posted by Si Chen <si...@opensourcestrategies.com>.
You're right.  I just ready the license for the XSLT.  It seems to me  
to be pretty much the MIT Public License plus this clause:

both the above copyright notice(s) and this permission notice appear  
in supporting documentation.

I wonder if that would make it incompatible with Apache license?   
What exactly does it mean?

JTidy's license is here: http://aurora.regenstrief.org/~schadow/text/ 
jtidy/LICENSE

It's copyrighted the W3C consortium, but what exactly does this  
license mean?

On Dec 6, 2006, at 1:42 PM, Chris Howe wrote:

> The xsl contains the licensing information.  The other
> links were provided for background since the xsl is
> meant to accompany antennahouse's product and there
> may be some snags.
>
> --- Si Chen <si...@opensourcestrategies.com> wrote:
>
>> Thanks.  They all point to the transformer by
>> antennahouse.  Do they
>> have any license information on it?
>>
>> On Dec 6, 2006, at 12:20 PM, Chris Howe wrote:
>>
>>> I had done a similar search before and came across
>>> this page.  However, I haven't tried his
>>> implementation yet.
>>>
>>>
>>
> http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
>>>
>> http://www.antennahouse.com/XSLsample/XSLsample.htm
>>>
>>
> http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl
>>> --- Si Chen <si...@opensourcestrategies.com>
>> wrote:
>>>
>>>> Hi.
>>>>
>>>> Does anybody know of an open source html to
>> xsl:fo
>>>> transformation
>>>> (via xslt) possibly?
>>>>
>>>> This is what I'd like to do: be able to have a
>> tag
>>>> like <html-xslfo>
>>>> which can be used like this
>>>>
>>>> <platform-specific><html-xslfo>
>>>>
>> <html-template
>>>>
>>>>
>>>
>>
> location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></html>
>>>>
>>>> </platform-specific>
>>>>
>>>> and then the contents of a myPage.ftl to xsl:fo
>> and
>>>> output as PDF.
>>>>
>>>> Best Regards,
>>>>
>>>> Si
>>>> sichen@opensourcestrategies.com
>>>>
>>>>
>>>>
>>>>
>>
>> Best Regards,
>>
>> Si
>> sichen@opensourcestrategies.com
>>
>>
>>
>>

Best Regards,

Si
sichen@opensourcestrategies.com




Re: html to xsl:fo transformers?

Posted by Chris Howe <cj...@yahoo.com>.
The xsl contains the licensing information.  The other
links were provided for background since the xsl is
meant to accompany antennahouse's product and there
may be some snags.

--- Si Chen <si...@opensourcestrategies.com> wrote:

> Thanks.  They all point to the transformer by
> antennahouse.  Do they  
> have any license information on it?
> 
> On Dec 6, 2006, at 12:20 PM, Chris Howe wrote:
> 
> > I had done a similar search before and came across
> > this page.  However, I haven't tried his
> > implementation yet.
> >
> >
>
http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
> >
> http://www.antennahouse.com/XSLsample/XSLsample.htm
> >
>
http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl
> > --- Si Chen <si...@opensourcestrategies.com>
> wrote:
> >
> >> Hi.
> >>
> >> Does anybody know of an open source html to
> xsl:fo
> >> transformation
> >> (via xslt) possibly?
> >>
> >> This is what I'd like to do: be able to have a
> tag
> >> like <html-xslfo>
> >> which can be used like this
> >>
> >> <platform-specific><html-xslfo>
> >>                                     
> <html-template
> >>
> >>
> >
>
location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></html>
> >>
> >> </platform-specific>
> >>
> >> and then the contents of a myPage.ftl to xsl:fo
> and
> >> output as PDF.
> >>
> >> Best Regards,
> >>
> >> Si
> >> sichen@opensourcestrategies.com
> >>
> >>
> >>
> >>
> 
> Best Regards,
> 
> Si
> sichen@opensourcestrategies.com
> 
> 
> 
> 


Re: html to xsl:fo transformers?

Posted by Si Chen <si...@opensourcestrategies.com>.
Thanks.  They all point to the transformer by antennahouse.  Do they  
have any license information on it?

On Dec 6, 2006, at 12:20 PM, Chris Howe wrote:

> I had done a similar search before and came across
> this page.  However, I haven't tried his
> implementation yet.
>
> http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
> http://www.antennahouse.com/XSLsample/XSLsample.htm
> http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl
> --- Si Chen <si...@opensourcestrategies.com> wrote:
>
>> Hi.
>>
>> Does anybody know of an open source html to xsl:fo
>> transformation
>> (via xslt) possibly?
>>
>> This is what I'd like to do: be able to have a tag
>> like <html-xslfo>
>> which can be used like this
>>
>> <platform-specific><html-xslfo>
>>                                      <html-template
>>
>>
> location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></html>
>>
>> </platform-specific>
>>
>> and then the contents of a myPage.ftl to xsl:fo and
>> output as PDF.
>>
>> Best Regards,
>>
>> Si
>> sichen@opensourcestrategies.com
>>
>>
>>
>>

Best Regards,

Si
sichen@opensourcestrategies.com




Re: html to xsl:fo transformers?

Posted by Chris Howe <cj...@yahoo.com>.
I had done a similar search before and came across
this page.  However, I haven't tried his
implementation yet.

http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
http://www.antennahouse.com/XSLsample/XSLsample.htm
http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl
--- Si Chen <si...@opensourcestrategies.com> wrote:

> Hi.
> 
> Does anybody know of an open source html to xsl:fo
> transformation  
> (via xslt) possibly?
> 
> This is what I'd like to do: be able to have a tag
> like <html-xslfo>  
> which can be used like this
>                                
> <platform-specific><html-xslfo>
>                                      <html-template 
> 
>
location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></html>
>                                 
> </platform-specific>
> 
> and then the contents of a myPage.ftl to xsl:fo and
> output as PDF.
> 
> Best Regards,
> 
> Si
> sichen@opensourcestrategies.com
> 
> 
> 
>