Re: [xslt] output-method='text' -- strange behavior
- From: Daniel Veillard <veillard redhat com>
- To: "Anton V. Boyarshinov" <boyarsh ru echo fr>
- Cc: veillard redhat com, xslt gnome org
- Subject: Re: [xslt] output-method='text' -- strange behavior
- Date: Tue, 17 Apr 2001 08:02:27 -0400
On Tue, Apr 17, 2001 at 03:30:32PM +0400, Anton V. Boyarshinov wrote:
> > And the result once the attached patch is applied:
> >
> > orchis:~/XSLT/libxslt -> ./xsltproc tst.xsl tst.xml
> >
> > #ff0000+1This values are missed or incorrect:
> > address, folder.
> >
>
> I'll try it, thank your very march. Now i understend, that i'm using bug in
> Sablotron as feature:-(. Good moment to fix my stylesheets.
Well I'm unsure. I have reread the XPath sections 5.3 Attribute Nodes
and 5.7 Text Nodes, and it seems that attributes values are not stored
as text nodes in the XPath document model, and hence their content should
not be output, and the following should be generated:
orchis:~/XSLT/libxslt -> ./xsltproc tst.xsl tst.xml
This values are missed or incorrect:
address, folder.
orchis:~/XSLT/libxslt ->
basically you just need to remove the properties output part in the
provided patch,
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]