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
Neal  WaltersSubject: Mapping from schema to schema vs instance to instance
Author: Neal Walters
Date: 09 Mar 2005 04:57 PM
We are looking at using Stylus Studio XSLT for all our future
Microsoft Biztalk 2004 maps, mainly due to the excellent debugger.
Biztalk allows us to plug in an external XSLT.

For mapping XML to XML, in the Biztalk world, you specify an input
and output schema and you map from schema to schema (and then at run
time it translates XML instance to XML instance. It looks like in the
Stylus Studio world, you map an XML instance to an XML instance
even at design time.

1) Is it possible to map from schema to schema?

2) I may have 5 different documents to test, each one having various
XML elements missing. So I would rather map from the schema instead
of one of the instances. If the answer to question 1) is "no",
should I then generate a complete XML instance from the schema
and use that for my mapping?


Thanks,
Neal Walters
http://Biztalk-Training.com
http://XML-Online-Training.com
http://VBScript-Training.com

Posttop
Minollo I.Subject: Mapping from schema to schema vs instance to instance
Author: Minollo I.
Date: 09 Mar 2005 05:13 PM
...
>For mapping XML to XML, in the Biztalk world, you specify an
>input and output schema and you map from schema to schema (and
>then at run time it translates XML instance to XML instance. It
>looks like in the Stylus Studio world, you map an XML instance to an XML
>instance even at design time.
>
>1) Is it possible to map from schema to schema?

In Stylus Studio XML to XML mappings are always designed schema to schema, or, maybe better, "structure to structure".
You can choose XML instances, XML Schema documents or DTDs as your source and target structures, and design your mappings against those structures. In the case in which you choose an XML instance, the XML structure is inferred from the specified document.

That should make question #2 irrelevant.

Thanks,
Minollo

 
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.