<profiling location = anyURI > Content: [ class ]? </profiling> <class> Content: Java class name </class>
This element specifies which class deriving from com.xmlmind.xmleditext.profiling.ProfileSet
is to be used to implement conditional processing (also called profiling) for a given document type.
Optional attribute location
specifies which set of profiles to automatically use by default[5] for all documents of a given document type. This location must point to a ".profiles
" file created using XMLmind XML Editor.
If this location ends with a fragment, then this fragment must be the ID of a profile contained in the profile set. When such profile ID is specified, the corresponding profile is automatically selected by default[5] for all documents of a given document type.
DocBook example:
<profiling> <class>com.xmlmind.xmleditext.profiling.docbook.DBProfileSet</class> </profiling>
DITA map example 1: by default, automatically use profile set "file:/C:/docsrc/manual/products.profiles
" for all DITA maps.
<profiling location="file:/C:/docsrc/manual/products.profiles">
<class>com.xmlmind.xmleditext.profiling.dita.DITAProfileSet</class>
</profiling>
DITA map example 2: by default, automatically use profile "Lite
" contained in profile set "file:/C:/docsrc/manual/products.profiles
" for all DITA maps.
<profiling location="file:/C:/docsrc/manual/products.profiles#Lite">
<class>com.xmlmind.xmleditext.profiling.dita.DITAProfileSet</class>
</profiling>