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
Postnext
Jim MittenSubject: Easy way to Convert One source XML to 4 different XML formats
Author: Jim Mitten
Date: 28 Jan 2008 09:24 AM
My source data is in XML. I want to transform the source into four different XML files. Each of the four outputs use a different name space and schema. There are many similarities, but some use different field names for the same field. Some allow multiples of a field, others do not. Some group fields, others don't. Not all fields are in all output files.

I'm aware that I could write a custom transformation for each, but I was looking for a simple drag and drop type of UI. The custom XML conversion doesn't seem to like a XML input.

Postnext
Tony LavinioSubject: Easy way to Convert One source XML to 4 different XML formats
Author: Tony Lavinio
Date: 28 Jan 2008 01:15 PM
Custom XML Conversions are for converting things that aren't XML
into XML. Your source is already XML.

What might be easiest for you is to build four different transforms,
each from the input file to one of your output formats. You can use
the XQuery mapper, switch to 'mapper' view, load your source into the
left-side pane and the schema into the right-side pane, and map away.
The mapper will generate your code.

Then you can either run the four different programs separately, or
combine them using the XML Pipeline.

See http://www.stylusstudio.com/xquery_mapper.html and especially
the 'video' link in the top right corner.

Posttop
Jim MittenSubject: Easy way to Convert One source XML to 4 different XML formats
Author: Jim Mitten
Date: 28 Jan 2008 01:43 PM
Thanks. I was looking in the wrong place.

 
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.