Subject:Mapper adds Attribute after child node Author:Ralf Altmeyer Date:10 Feb 2004 11:30 AM
Stylus 5.1 173d.
I am trying to generate an XSLT file with the mapper. I would like to create in the target file an alement named "attr" with an attribute "id", the latter containing the name of the source element while "attr" should contain the value of the source element, e.g.
4711
should be transformed to 4711
However the mapper produces the following code:
which is wrong since the tag after the child text node generated by value-of is dismissed.
What can I do?
Subject:RE: Mapper adds Attribute after child node Author:(Deleted User) Date:10 Feb 2004 11:48 AM
hi, Ralf
we can reproduce this problem and working on it now. an update package
should be relased soon.
in the meanwhile, you can still work with mapper and let mapper to generate
code for you. you need to modify the souce and cut/paste the
before the only after you are done with your mapping.
thanks for reporting.
song.
> -----Original Message-----
> From: stylus-studio-xslt Listmanager [mailto:listmanager@edn.exln.com]
> Sent: Tuesday, February 10, 2004 11:57 AM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: Mapper adds Attribute after child node
>
>
> From: "Ralf Altmeyer"
>
> Stylus 5.1 173d.
>
> I am trying to generate an XSLT file with the mapper. I would
> like to create in the target file an alement named "attr" with an
> attribute "id", the latter containing the name of the source
> element while "attr" should contain the value of the source element, e.g.
>
> 4711
> should be transformed to
> 4711
>
> However the mapper produces the following code:
>
>
>
>
>
>
>
>
> which is wrong since the tag after the child text
> node generated by value-of is dismissed.
> What can I do?
>
>
>
> To reply: mailto:stylus-studio-xslt.7193@edn.exln.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>