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
Posttop
Xander ValenkampSubject: How can i attach a empty namespace to a element
Author: Xander Valenkamp
Date: 09 Dec 2013 03:13 AM
Originally Posted: 06 Dec 2013 11:13 AM
Desired output:

<?xml version="1.0" encoding="utf-8"?>
<Delivery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.somewhere.com/Schema/1.0">
<Provider xmlns="">ProviderA</Provider>
<Licensor xmlns="">LicensorA</Licensor>
<DeliveryDate xmlns="">2013-08-16T12:45:15.1625845+02:00</DeliveryDate>
<Components xmlns="">
<Component>
<Actor>Some_Actor</Actor>
<Director>Some_Director</Director>
</Component>
</Components>
</Delivery>

I'am using Stylus Studio X15 Pro. If i delcare a empty namespace in the xls the declaration disapears after the transform.

<xsl:element name="Components" namespace"">
</xsl:element>

How can i solve this?

 
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.