OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] DocBook XMLschema in Visual Studio.Net


"Wills, Robert" wrote:
> 
> We had some success using "XMLSpy" to 'flatten' various flavours of DocBook
> DTD and then convert them into a usable XML Schema. Other tools may be able
> to do the same (maybe even VS.NET?). You could try manually adding a target
> namespace to the generated XSD if VS.NET can't handle elements defined in
> the 'no-namespace' namespace (this seems an odd restriction, though). You'll

VS.NET uses target namespace to pick correct XSD from schema cache (all
schemas in current project are part of this cache). AFAIK XML editor in
VS.NET doesn't recognize xsi:schemaLocation and
xsi:noNamespaceSchemaLocation attributes. It's weird as XML parser in
.NET library handle these attributes.

> need to make appropriate mods to the stylesheets if you're using XSLT.

Dont't add namespace to your DocBook documents. Appropriate mods to
stylesheets means complete hassle. As XSLT doesn't have notation of
default namespace for XPath expression you will end up with modifying
several thousands of XPath expression in stylesheets.

					Jirka 

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]