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
(Deleted User) Subject: Getting rid of prefixes in the mapper
Author: (Deleted User)
Date: 06 Jun 2003 12:17 PM
Two questions here:
1. When I use the two attached schemas in the mapper is there anyway of getting rid of the prefixes on elements?
Every element in the source is prefixed with xcbl35.xsd: which makes it difficult to read when you have to wade through 1500 elements.

2. How can I stop the full qualified namespace from appearing in every element in the transformed document?

I'm using 4.6 build 103u

Thanks

Chris


DocumentxCBL.Invoice.Schema.xsd
Source schema (xCBL)

Documentinvoice-v3.xsd
Destination schema (BASDA)

DocumentInvoice-xCBL-BASDA.xsl
Map

Document526e1272-78b0-1000-8e1a-c0a80ad70001.xml
sample doc

Posttop
Minollo I.Subject: Re: Getting rid of prefixes in the mapper
Author: Minollo I.
Date: 06 Jun 2003 12:33 PM
At 12:38 PM 6/6/2003 -0400, you wrote:
>From: "Chris Lindley"
>
>Two questions here:
>1. When I use the two attached schemas in the mapper is there anyway of
>getting rid of the prefixes on elements?
>Every element in the source is prefixed with xcbl35.xsd: which makes it
>difficult to read when you have to wade through 1500 elements.

Not in the current version of Stylus Studio; we are adding this to our PCR
list.

>2. How can I stop the full qualified namespace from appearing in every
>element in the transformed document?

That's a behavior of the Stylus Studio processor; if you run the same
transformation using a different processor (you can select a different one
in the Scenario Properties dialog), the repetition of the namespace
declaration will go away.
This specific behavior of the internal processor will be changed at some point.

Thanks,
Minollo

 
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.