XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Ralf AltmeyerSubject: 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?

Posttop
(Deleted User) 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
>

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.