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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Michael HincheySubject: XML Mapper: auto-gen of required elements
Author: Michael Hinchey
Date: 03 Sep 2002 11:41 PM
I'm experiencing a problem in one installation of Studio 4.0 build 088 on Win2k. I don't have this problem with other installations of the same version on different machines nor with build 100e. Iíve tried reinstalling in case the user did something different, but that did not change the behavior.

The Mapper inserts all required elements into the XSLT when I map a single one. It's as if it is trying to create XSLT which will generate valid XML. In the attached files, simply mapping aaa to aaa causes the attached XSLT to be created. Is there some setting which causes this?

Thanks,
Mike


ApplicationTarget.xsd
Target.xsd

ApplicationTest.xslt
Test.xslt

DocumentSource.xsd
Source.xsd

Postnext
Minollo I.Subject: Re: XML Mapper: auto-gen of required elements
Author: Minollo I.
Date: 03 Sep 2002 11:46 PM

>Is there some setting which causes this?

Yes.

Tools|Options|Module Settings - XSLT Editor - Mapper

There is a single checkbox "Create an empty element for each unlinked node
that is required by the associated schema"; that checkbox is un-checked by
default; I guess that got somehow checked on the machine where you are
seeing the described behavior.

Hope this helps,
Minollo

Posttop
Oliver RennertSubject: XML Mapper: auto-gen of required elements
Author: Oliver Rennert
Date: 22 Nov 2006 04:49 PM
Hi there

This is exactly what I would like to happen in my case. I have checked the box but my Stylus does not create the elements required.

It shows them in the mapper view with a red tick, but it does not create them in the source code.

I am using Build 735d.

Is there any way to switch on this behaviour?

Best Regards,
Oliver Rennert

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.