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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.