semtags
Tag modify-annot


To modify an annotation file by re-writing one or more parts identified by an XPath e.g. xpath="//*[child::dc:title='the thing']". You can add attributes to declare namespaces used in the XPath expression in the form prefix="namespace" e.g. dc="http://purl.org/dc/elements/1.1/".


Tag Information
Tag Classfr.inria.semtags.edit.annot.ModifyTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
kindtruefalsejava.lang.StringUse value 'add' to specify you want to add one or more nodes at a specific XPath. Use value 'del' to specify you want to delete one or more nodes at a specific XPath. Use value 'replace' to specify you want to replace one or more nodes at a specific XPath.
xpathtruetruejava.lang.Stringxpath expression to identify the targeted node(s) ; every node match by this expression will be modified.
forceUpdatefalsetruebooleanTrue if the engine has to be reloaded, false otherwise ; the default value is false.
filetruetruejava.lang.StringThe relative path name of the annotation file to be modified This is concatenated to the data path specified for the engine instance or to the annotDir attribute if specified.
annotDirfalsetruejava.lang.StringThe relative (to the webapp directory) path name of the annotations directory ; use this if the annotations directory is not the one specified at initialization.
enginefalsetruefr.inria.semtags.EngineWrapperThe engine instance that should be reloaded ; use this if you specified forceUpdate="true" and if it is not the default instance that has to be reloaded.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.