Re: [xml] LRE stylesheets in libxslt

On Wed, Oct 23, 2002 at 07:51:46AM +0200, Christian Stocker wrote:

Is it possible to use LRE stylesheets in libxslt? xsltproc at least
complained about 
xsltParseStylesheetProcess : document is not a stylesheet

 It does of course since this is part of the standard
this is even part of the regression test suite:

gnome:~/XSLT/tests/REC -> xsltproc test-2.3-1.xsl test-2.3-1.xml
<?xml version="1.0"?>
<html xmlns="";><head><title>Expense Report 
Summary</title></head><body><p>Total Amount: 1234</p></body></html>
gnome:~/XSLT/tests/REC -> cat test-2.3-1.xsl
<html xsl:version="1.0"
    <title>Expense Report Summary</title>
    <p>Total Amount: <xsl:value-of select="expense-report/total"/></p>
gnome:~/XSLT/tests/REC -> cat test-2.3-1.xml
gnome:~/XSLT/tests/REC ->

It would be great, if this could be supported, since this would make
life easier to work together with not-so-literate-in-xslt people :)

  It would make life of the developpers easier if not-so-literate-in-xslt
people tried stuff out seriously before posting :)


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]