BizTalk Server General - Am I missing something re: XML Schema Editor tool in VS?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > January 2006 > Am I missing something re: XML Schema Editor tool in VS?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Am I missing something re: XML Schema Editor tool in VS?
ntbrierly@gmail.com

2005-12-30, 8:49 pm

Hello all,

I've just spent a frustrating afternoon trying to learn the XML Schema
Editor in Visual Studio.

It looks like the only way to create a complex type is to create a
record node, then set the Data Structure Type property to the name you
want for the complex type, then set the other nodes in the schema to
use that type. Then you probably should go back and remove the node
you first created to add the complex type. But then the complex type
will still be around. Which is fine, except if you ever need to edit
that complex type, you are out of luck because the Editor won't let
touch it.

Am I missing something, or is the Editor tool really that inflexible?

Thank you!
Trevor Brierly

Alan Smith

2006-01-02, 7:49 am

Hi Trevor,

You should be able to edit a complex type from any node that implements it,
you don't need a speciel node to create it.

Sometimes you may create a complex type that you import into other schemas,
in this case, you may remove the node that you used to create the complex
type, and lave the type in the schema. If you then need to edit this type,
you can create a new recordd, set it to use that complexx type, edit it, then
remove the record.

I like the BizTalk editor, it's worth sticking with it...

Regards,

Alan


--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith



"ntbrierly@gmail.com" wrote:

> Hello all,
>
> I've just spent a frustrating afternoon trying to learn the XML Schema
> Editor in Visual Studio.
>
> It looks like the only way to create a complex type is to create a
> record node, then set the Data Structure Type property to the name you
> want for the complex type, then set the other nodes in the schema to
> use that type. Then you probably should go back and remove the node
> you first created to add the complex type. But then the complex type
> will still be around. Which is fine, except if you ever need to edit
> that complex type, you are out of luck because the Editor won't let
> touch it.
>
> Am I missing something, or is the Editor tool really that inflexible?
>
> Thank you!
> Trevor Brierly
>
>

ntbrierly@gmail.com

2006-01-03, 5:57 pm

Thanks for your answer, I did try to give it another shot. I'm still
missing something, because I can't find a way to do something as simple
as changing the name of one of the elements in the complex type. I
went to an element that implemented the complex type, right clicked on
the element I wanted to change, and the rename option was greyed out.
I clicked on the Properties option, and almost all the properties were
greyed out.
Someone showed me the VS XML Schema Editor and I think I'll just use
that to create/edit schemas and use the BizTalk tool to promote
properties, etc.

ntb

Tatyana Yakushev [MSFT]

2006-01-05, 6:02 pm

When you say "element that implements the complex type" do you mean that
the element has the Data Structure Type set to your complex type? (Make
sure that it is Data Structure Type property, not the Base DataType
property!)

To rename element defined inside the complex type, you can select that
element and change the Name property in the properties window. This
property is disabled (grayed) when you are not allowed to change the name.
The most typical case when this happens is if you are DERIVING from the
complex type i.e. have Base Data Type property set to the complex type.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com