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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] New version of DocBook V5.0 howto is online


Hi,

On Sonntag, 28. Oktober 2007, Jirka Kosek wrote:
> Thomas Schraitle wrote:
> > 1) What about XInclude and validation? I think that is really a "hot
> > topic", as in DocBook 5 it is recommended to modularize it with
> > XIncludes. Any hints about which tools or parameters are needed would
> > be very helpful. Last time when I tried Jing it seems that it doesn't
> > resolve XIncludes. Maybe something similiar like in [1]?
>
> Usually it is sufficient to change parser configuration using
> appropriate property. If your XML parser is Xerces then it is
> sufficient to use the following property:
>
> -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces
>.parsers.XIncludeParserConfiguration
>
> So for example in order to get XIncludes resolved before validation in
> onvdl you have to use the following command:
>
> java
> -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces
>.parsers.XIncludeParserConfiguration -jar /path/to/oNVDL/bin/onvdl.jar
> /path/to/docbook.nvdl document.xml

Thanks for your recommendations. Now I have something to play with. :)


Thanks Jirka,
Tom

-- 
Thomas Schraitle


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