Featured post
Adding a custom target validation schema in Visual Studio -
i want use visual studio 2008 web project build application uses:
<!doctype vxml public "-//w3c//dtd voicexml 2.1//en" "http://www.w3.org/tr/voicexml20/vxml.dtd">
as it's validation schema in aspx file. however, when write tag such <vxml></vxml>
valid tag in vxml.dtd, raises couple of warnings: element 'html' occurs few times
, element 'vxml' not supported
.
i think due validation target setting in tools > options > text editor > html > validation.
how can add vxml.dtd list of possible settings in target dropdown box?
thanks, ben
your correct assumptions on validation target , not think there way around when using aspx pages. schema validation when open in xml editor. try right clicking on document , select "open with..." , open xml editor. should pick schema definition include in vxml tag. have found xml editor in vs bit flaky , ended using third party xml editor oxygen.
the approach took when using asp.net rendering dynamic vxml use xslt , helper classes render documents. way schema validation , use xslt debugger in vs test how pages rendered. better approach found use asp.net mvc 3 razor. there open source project called voicemodel on codeplex provides examples on how use approach.
- Get link
- X
- Other Apps
Comments
Post a Comment