Re: [xslt] Passing xml expressions as parameters.
- From: Daniel Veillard <veillard redhat com>
- To: bstobie www1 yorvik com, The Gnome XSLT library mailing-list <xslt gnome org>
- Cc:
- Subject: Re: [xslt] Passing xml expressions as parameters.
- Date: Wed, 7 Jul 2004 15:52:47 -0400
On Wed, Jul 07, 2004 at 10:45:38AM -0400, Bob Stobie wrote:
> Basically, is this a feature? If so, is there anything I can do to disable
> this?
You are generating XML. That XML has text with <, > in it. As a result the
XML serializer output them as < and >. This has nothing to do with
XSLT it's just the normal XML serialization rules.
[...]
> The parameter I pass in is
>
> <abcd>ABCD</abcd>
[..]
> >From Perl, printing out the result of the translation I get
>
> <?xml version="1.0"?>
> <state sequence="0"><info/><action
> name="start"/><result><shellArgs/></result><notify/></state>
> <abcd>ABCD</abcd>
>
> Any suggestions would be much appreciated.
Except changing your stylesheet to disable output escaping of
those fragment in the output, I don't see how to get what you want.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
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]