473,480 Members | 2,347 Online
Bytes | Software Development & Data Engineering Community
Create 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 1246
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\Packages\schemas\html folder

Here is the certain document in MSDN:

#HTML and XML Schema Extensibility
http://msdn.microsoft.com/library/en...kupLanguageSch
emaExtensibility.asp?frame=true

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 "targetSchema" 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#wizards\1033\common.js contains

function AddDefaultTargetSchemaToWizard(selProj)
{
var prjTargetSchema =
selProj.Properties("DefaultTargetSchema").Value;
// 0 = IE3/Nav4
// 1 = IE5
// 2 = Nav4
if(prjTargetSchema == 0)
{
wizard.AddSymbol("DEFAULT_TARGET_SCHEMA",
"http://schemas.microsoft.com/intellisense/ie3-2nav3-0");
}
else if( prjTargetSchema == 2)
{
wizard.AddSymbol("DEFAULT_TARGET_SCHEMA",
"http://schemas.microsoft.com/intellisense/nav4-0");
}
else
{
wizard.AddSymbol("DEFAULT_TARGET_SCHEMA",
"http://schemas.microsoft.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.microsoft.com (Steven Cheng[MSFT]) wrote in message news:<Xc**************@cpmsftngxa10.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\Packages\schemas\html folder

Here is the certain document in MSDN:

#HTML and XML Schema Extensibility
http://msdn.microsoft.com/library/en...kupLanguageSch
emaExtensibility.asp?frame=true

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 "targetSchema" 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
2696
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...
4
19336
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 ...
15
3050
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...
5
7026
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...
12
8522
by: Plop69 | last post by:
need some help on following: xml file 1 <TEST xmlns="http://test" > <OK>mlkddflmkj</OK> </TEST>
13
2833
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...
9
6440
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,...
10
3731
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...
11
2326
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...
0
7051
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,...
0
7054
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,...
0
7097
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4794
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4493
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3003
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...
0
1307
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 ...
1
567
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.