Pavel,

1. Why in v 4.0

the XML like this started producing an error:

<option value="FL">Florida
    <xsl:attribute name="selected">selected</xsl:attribute>
</option>

An error is smth like "attempt to add attribute after the element was
created". It was not a problem in Sablotron 3.6.
Now it requires me to write

<option value="FL">
    <xsl:attribute name="selected">selected</xsl:attribute>
    Florida
</option>

Was it a purposeful fix or is it introduced bug?  One would expect the
element creation would be detered till closing tag is parsed.


2. The other thing I noticed v3.6 was always un-escaping TEXT during
transformation.  That was bad for cascading XSLT stylesheets since the
result output was not always a valid XML.  So I guess even though 3.6 did
not support <xsl:output> the default method was "text".  Now then,  in 4.0
there is <xsl:output method="..."> but it can only be "xml" or "html".  I do
not know while "text" method was skipped but even then why "html" method
does not produce un-escaped values.  What I mainly point is use of
"&amp;nbsp;" in my XSL that I would like to see as "&nbsp;" after
transformation. Why would I need to use <xsl:text
"disable-output-escape">... every time in XSL where I just want "&nbsp;",
etc.  Do you keep escaped text in "html" output mode on purpose?

Thanks

Nick Semenov.

----- Original Message -----
From: "Pavel Hlavnicka" <[EMAIL PROTECTED]>
To: "Sablotron Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 3:07 PM
Subject: Re: [Sab] Why not automake?


> Great!
>
> of course, we're interesting for it.
>
> Please, send us your work (short description would be very appreciated).
>
> Thanks
>
> Pavel
>
> [EMAIL PROTECTED] (Andrew McNaughton) wrote:
>
> > A while back I had a go at this.  I got Sablotron-0.36 to build sabcmd
OK
> > using automake, autoconf and libtool.  I did not however manage to get
the
> > produced libraries to link with perl.
> >
> > This is under FreeBSD, and I am so far unaware of any one who has
managed to
> > get the perl module to link correctly by any means under FreeBSD, so I
am not
> > sure if this was due to anything I did wrong, or to these build tools.
> >
> > libtool's documentation does contain warnings that there are problems
with
> > using it to build C++ libraries.
> >
> > I'm happy to send my code to anyone who wants to look at what i did.
> >
> > Andrew McNaughton
> > [EMAIL PROTECTED]
> >
>
> --
> Pavel Hlavnicka
> Ginger Alliance Ltd.
> Prague; Czech Republic


Reply via email to