This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 at kosek dot cz
  http://www.kosek.cz

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]