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)
-> - jump to source location does n... (1)
-> + Close Project? (2)
-> - Eclipse-Style Tabs for source ... (1)
-> + Semantic Studio: More than Sim... (4)
-> + xml to xml ,apping (2)
-> + XSD Description in Mapper View (4)
-> - XSLT Editor Window - Template ... (1)
-> + Convert directory tree to XML (2)
-> + Convert from xml to csv (or ot... (2)
-> + Find Dialog Typo (2)
-> + Edit : Go To Parent in XML edi... (2)
-> - Processing has been cancelled (1)
-> + xsl:sort bug in xsl:apply-temp... (2)
-> - suppress creation of empty tar... (1)
-> - Why Stylus Studio doesn't supp... (1)
-> + Hyphen (Dash) in XML Comment E... (8)
-> + XML Difference Documents - Can... (3)
-> - Persistent tree view collapse ... (1)
-> + Web Services HTTP Custom Heade... (5)
-> + Option to pretty-print preview... (2)
-- Previous [241-260] [261-280] [281-300] Next
+ Stylus Studio Technical Forum (14621)
+ 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  
Posttop
Kurt WaldSubject: suppress creation of empty target elements
Author: Kurt Wald
Date: 15 Jan 2007 10:42 AM
it would be helpfull to add something like "create conditional value link" to the context menu of a link established with the right mouse button pressed. This should create a:

<xsl:if test="source_element/text()">
<xsl:value-of select="source_element/text()"/>
</xsl:if>

construct, to avoid the creation of empty target elements. There is quite a number of business applications, which have difficulties with the import of xml structures containing empty elements.

This approach adds comfort compared to first establishing a graphical if and then a value link.

   
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.