473,811 Members | 3,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Project default HTML Schema

How do I get a HTML Schema that I have designed registered in such a
way that it appears in the Project Default Schema dropdown list.

I know I can change it for individual pages, but I want MY schema to
appear in the list for the entire project along with the default 3
that are already there

Cliff
Nov 18 '05 #1
3 1262
Hi Cliff,

As for the problem on adding a new custom html targetSchema, I've searched
the MSDN and it seems that we have to first build our own Xsd files or tlb
and put them in the
[Disk]\Program Files\Microsoft Visual Studio .NET
2003\Common7\Pa ckages\schemas\ html folder

Here is the certain document in MSDN:

#HTML and XML Schema Extensibility
http://msdn.microsoft.com/library/en...kupLanguageSch
emaExtensibilit y.asp?frame=tru e

I've tested regarding the above document and found that after adding a new
xsd file, the new targetSchema value will only appear in the individual
page's "targetSche ma" property rather than in the whole project's default
targetSchema dropdownlist. Is this also the problem you encountered? I'm
now consulting some further experts on this and will update you as soon as
I got any new findings. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2
Steven

Yes this is exactly the problem. It seems that some of the template
Jscript code also refers to these entries as hardcoded 0,1,2 so I
imagine adding my own would causes all sorts of trouble.

For example c:\program files\visual
studio\vc#\vc#w izards\1033\com mon.js contains

function AddDefaultTarge tSchemaToWizard (selProj)
{
var prjTargetSchema =
selProj.Propert ies("DefaultTar getSchema").Val ue;
// 0 = IE3/Nav4
// 1 = IE5
// 2 = Nav4
if(prjTargetSch ema == 0)
{
wizard.AddSymbo l("DEFAULT_TARG ET_SCHEMA",
"http://schemas.microso ft.com/intellisense/ie3-2nav3-0");
}
else if( prjTargetSchema == 2)
{
wizard.AddSymbo l("DEFAULT_TARG ET_SCHEMA",
"http://schemas.microso ft.com/intellisense/nav4-0");
}
else
{
wizard.AddSymbo l("DEFAULT_TARG ET_SCHEMA",
"http://schemas.microso ft.com/intellisense/ie5");
}
}

and would need extending to handle a 4th template. Elsewhere in the
code the wizards seem to lookup the "name" in the droplist and return
the 0,1,2 for this method

Cliff
v-******@online.m icrosoft.com (Steven Cheng[MSFT]) wrote in message news:<Xc******* *******@cpmsftn gxa10.phx.gbl>. ..
Hi Cliff,

As for the problem on adding a new custom html targetSchema, I've searched
the MSDN and it seems that we have to first build our own Xsd files or tlb
and put them in the
[Disk]\Program Files\Microsoft Visual Studio .NET
2003\Common7\Pa ckages\schemas\ html folder

Here is the certain document in MSDN:

#HTML and XML Schema Extensibility
http://msdn.microsoft.com/library/en...kupLanguageSch
emaExtensibilit y.asp?frame=tru e

I've tested regarding the above document and found that after adding a new
xsd file, the new targetSchema value will only appear in the individual
page's "targetSche ma" property rather than in the whole project's default
targetSchema dropdownlist. Is this also the problem you encountered? I'm
now consulting some further experts on this and will update you as soon as
I got any new findings. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
Hi Cliff,

Thanks for your response. Yes, after further consulting from some experts ,
they also agreed that this dropdownlist behavior is controled by VS.NET and
is hard coded in the IDE's code. I'm afraid currently we can only add our
custom schema items in individual page's property window's targetSchema
select list. Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2726
by: John L. Clark | last post by:
I am curious as to the rationale, and effect, of having default namespaces not applying (directly) to attributes (see http://www.w3.org/TR/REC-xml-names/#defaulting). Given an attribute without a namespace prefix, what is its namespace, if default namespaces do not apply? Are (either of) prefixed or non-prefixed attributes correct? For example, are the following equivalent: <html:br class="foo"...
4
19379
by: Hemant Shah | last post by:
Folks, Is there a way to set a default schema name by setting environment variable, so that it is set for CLP and any program I run from command line. Thanks. -- Hemant Shah /"\ ASCII ribbon campaign
15
3093
by: MR | last post by:
i need to develop a SOAP client, Since I have never personally done one I would like to make sure that I am going about it correctly. The client is a Windows (probably 2k3) application that communicates over HTTPS SOAP. The remote server is Unix based and implements Axis, which I know nothing about What are the steps I need to create this client? I will be developing in C# and I have the XML schema of the SOAP messages. How do I get...
5
7057
by: Matt D | last post by:
I have a bunch of constants used in my web services that the client also needs to have. Is there a way to declare public properties that are part of a class or structure as constants or at least give them a default value through some XML shaping? Thanks.
12
8570
by: Plop69 | last post by:
need some help on following: xml file 1 <TEST xmlns="http://test" > <OK>mlkddflmkj</OK> </TEST>
13
2881
by: Ilias Lazaridis | last post by:
I have implemented a simple schema evolution support for django, due to a need for a personal project. Additionally, I've provided an Audit: http://case.lazaridis.com/wiki/DjangoAudit As a result, I was censored ('banned' from the development list) My initial non-public complain about censorship on django devel, sent to six relevant project recipients remained unanswered.
9
6487
by: Mark Olbert | last post by:
I'm trying to serialize (using XmlSerializer.Serialize) a class that I generated from an XSD schema using XSD.EXE /c. The problem I'm running into is that the root element needs to be unqualified, and the default namespace needs to be included on it as an attribute. The schema I'm using is this: <xs:schema xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:html="http://www.w3.org/TR/REC-html40"...
10
3772
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a datasource. I would like to use an existing class object. The examples I have found state that the class should be in the App_Code folder. However a WAP does not have an App_Code folder. Is there any way to specify a datasource for a local report in a...
11
2386
by: VK | last post by:
In the continuation of the discussion at "Making Site Opaque -- This Strategy Feasible?" and my comment at http://groups.google.com/group/comp.lang.javascript/msg/b515a4408680e8e2 I have realized that despite suggestions to use DHTML-based modal dialogs are very common? there is not a single fully functional reliable copyright-free cross-browser alternative to say MsgBox (VBScript) or showModalDialog (IE). This way such suggestions up to...
0
9724
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10644
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10127
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9201
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5552
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4336
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.