Filename Target Archives - Stilo https://www.stilo.com/docs/%knowledge_base%/filename-target/ experience XML in a whole new way | exceptional tools for structured content solutions Tue, 27 Apr 2021 19:41:43 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://www.stilo.com/wp-content/uploads/2017/03/favicon-150x150.png Filename Target Archives - Stilo https://www.stilo.com/docs/%knowledge_base%/filename-target/ 32 32 target-filename https://www.stilo.com/docs/migrate/filename-target/target-filename/ Mon, 15 Mar 2021 00:00:00 +0000 https://www.stilo.com/?post_type=docs&p=64178 Syntax target-filename((foldername=foldername;)filename) target-filename-camel-case(foldername=foldername;)filename) target-filename-dromedary-case(foldername=foldername;)filename) target-filename-lower-case(foldername=foldername;)filename) target-filename-words(foldername=foldername;)filename) foldername (optional) name of the directory containing the file filename name of the file […]

The post target-filename appeared first on Stilo.

]]>
Syntax

target-filename((foldername=foldername;)filename)

target-filename-camel-case(foldername=foldername;)filename)

target-filename-dromedary-case(foldername=foldername;)filename)

target-filename-lower-case(foldername=foldername;)filename)

target-filename-words(foldername=foldername;)filename)

foldername (optional)

name of the directory containing the file

filename

name of the file

Purpose

The target filename annotations are used to control chunking of the topics into separate files. The annotation allows the file name to be specified, and optionally the folder name as well. If no folder name is specified, the file will be created at the top level.

Typically, this annotation is applied on elements which have also had a title annotation applied. Thus, a topic is identified, and its file name is established. The text of the file name usually comes from the paragraph text to which the annotation applies. In this manner, the file name is based on the topic title.

The variations of the target file name annotations apply different filtering logic to the file name parameter. Consider the text “vegetable recipes”:

annotation description computed file name
target-filename(\*.dita) no filtering vegetable recipes.dita
target-filename-camel-case(\*.dita) capitalize first letter of every word VegetableRecipes.dita
target-filename-dromedary-case(\*.dita) capitalize first letter of every word but the first vegetableRecipes.dita
target-filename-lower-case(\*.dita) lower case text vegetable_recipes.dita
target-filename-words(\*.xml) replace funny charaters with an underscore vegetable_recipes.xml
target-filename((foldername=topics;)\*.dita) no filtering topics/vegetable recipes.dita

The \* syntax is used within annotations to reference the full text of the current element. In the scenarios above, we can imagine that there is a paragraph element with content “vegetable recipes”.

The post target-filename appeared first on Stilo.

]]>
target-filename-camel-case https://www.stilo.com/docs/migrate/filename-target/target-filename-camel-case/ Mon, 15 Mar 2021 00:00:00 +0000 https://www.stilo.com/?post_type=docs&p=64180 Syntax target-filename((foldername=foldername;)filename) target-filename-camel-case(foldername=foldername;)filename) target-filename-dromedary-case(foldername=foldername;)filename) target-filename-lower-case(foldername=foldername;)filename) target-filename-words(foldername=foldername;)filename) foldername (optional) name of the directory containing the file filename name of the file […]

The post target-filename-camel-case appeared first on Stilo.

]]>
Syntax

target-filename((foldername=foldername;)filename)

target-filename-camel-case(foldername=foldername;)filename)

target-filename-dromedary-case(foldername=foldername;)filename)

target-filename-lower-case(foldername=foldername;)filename)

target-filename-words(foldername=foldername;)filename)

foldername (optional)

name of the directory containing the file

filename

name of the file

Purpose

The target filename annotations are used to control chunking of the topics into separate files. The annotation allows the file name to be specified, and optionally the folder name as well. If no folder name is specified, the file will be created at the top level.

Typically, this annotation is applied on elements which have also had a title annotation applied. Thus, a topic is identified, and its file name is established. The text of the file name usually comes from the paragraph text to which the annotation applies. In this manner, the file name is based on the topic title.

The variations of the target file name annotations apply different filtering logic to the file name parameter. Consider the text “vegetable recipes”:

annotation description computed file name
target-filename(\*.dita) no filtering vegetable recipes.dita
target-filename-camel-case(\*.dita) capitalize first letter of every word VegetableRecipes.dita
target-filename-dromedary-case(\*.dita) capitalize first letter of every word but the first vegetableRecipes.dita
target-filename-lower-case(\*.dita) lower case text vegetable_recipes.dita
target-filename-words(\*.xml) replace funny charaters with an underscore vegetable_recipes.xml
target-filename((foldername=topics;)\*.dita) no filtering topics/vegetable recipes.dita

The \* syntax is used within annotations to reference the full text of the current element. In the scenarios above, we can imagine that there is a paragraph element with content “vegetable recipes”.

The post target-filename-camel-case appeared first on Stilo.

]]>
target-filename-dromedary-case https://www.stilo.com/docs/migrate/filename-target/target-filename-dromedary-case/ Mon, 15 Mar 2021 00:00:00 +0000 https://www.stilo.com/?post_type=docs&p=64182 Syntax target-filename((foldername=foldername;)filename) target-filename-camel-case(foldername=foldername;)filename) target-filename-dromedary-case(foldername=foldername;)filename) target-filename-lower-case(foldername=foldername;)filename) target-filename-words(foldername=foldername;)filename) foldername (optional) name of the directory containing the file filename name of the file […]

The post target-filename-dromedary-case appeared first on Stilo.

]]>
Syntax

target-filename((foldername=foldername;)filename)

target-filename-camel-case(foldername=foldername;)filename)

target-filename-dromedary-case(foldername=foldername;)filename)

target-filename-lower-case(foldername=foldername;)filename)

target-filename-words(foldername=foldername;)filename)

foldername (optional)

name of the directory containing the file

filename

name of the file

Purpose

The target filename annotations are used to control chunking of the topics into separate files. The annotation allows the file name to be specified, and optionally the folder name as well. If no folder name is specified, the file will be created at the top level.

Typically, this annotation is applied on elements which have also had a title annotation applied. Thus, a topic is identified, and its file name is established. The text of the file name usually comes from the paragraph text to which the annotation applies. In this manner, the file name is based on the topic title.

The variations of the target file name annotations apply different filtering logic to the file name parameter. Consider the text “vegetable recipes”:

annotation description computed file name
target-filename(\*.dita) no filtering vegetable recipes.dita
target-filename-camel-case(\*.dita) capitalize first letter of every word VegetableRecipes.dita
target-filename-dromedary-case(\*.dita) capitalize first letter of every word but the first vegetableRecipes.dita
target-filename-lower-case(\*.dita) lower case text vegetable_recipes.dita
target-filename-words(\*.xml) replace funny charaters with an underscore vegetable_recipes.xml
target-filename((foldername=topics;)\*.dita) no filtering topics/vegetable recipes.dita

The \* syntax is used within annotations to reference the full text of the current element. In the scenarios above, we can imagine that there is a paragraph element with content “vegetable recipes”.

The post target-filename-dromedary-case appeared first on Stilo.

]]>
target-filename-lower-case https://www.stilo.com/docs/migrate/filename-target/target-filename-lower-case/ Mon, 15 Mar 2021 00:00:00 +0000 https://www.stilo.com/?post_type=docs&p=64184 Syntax target-filename((foldername=foldername;)filename) target-filename-camel-case(foldername=foldername;)filename) target-filename-dromedary-case(foldername=foldername;)filename) target-filename-lower-case(foldername=foldername;)filename) target-filename-words(foldername=foldername;)filename) foldername (optional) name of the directory containing the file filename name of the file […]

The post target-filename-lower-case appeared first on Stilo.

]]>
Syntax

target-filename((foldername=foldername;)filename)

target-filename-camel-case(foldername=foldername;)filename)

target-filename-dromedary-case(foldername=foldername;)filename)

target-filename-lower-case(foldername=foldername;)filename)

target-filename-words(foldername=foldername;)filename)

foldername (optional)

name of the directory containing the file

filename

name of the file

Purpose

The target filename annotations are used to control chunking of the topics into separate files. The annotation allows the file name to be specified, and optionally the folder name as well. If no folder name is specified, the file will be created at the top level.

Typically, this annotation is applied on elements which have also had a title annotation applied. Thus, a topic is identified, and its file name is established. The text of the file name usually comes from the paragraph text to which the annotation applies. In this manner, the file name is based on the topic title.

The variations of the target file name annotations apply different filtering logic to the file name parameter. Consider the text “vegetable recipes”:

annotation description computed file name
target-filename(\*.dita) no filtering vegetable recipes.dita
target-filename-camel-case(\*.dita) capitalize first letter of every word VegetableRecipes.dita
target-filename-dromedary-case(\*.dita) capitalize first letter of every word but the first vegetableRecipes.dita
target-filename-lower-case(\*.dita) lower case text vegetable_recipes.dita
target-filename-words(\*.xml) replace funny charaters with an underscore vegetable_recipes.xml
target-filename((foldername=topics;)\*.dita) no filtering topics/vegetable recipes.dita

The \* syntax is used within annotations to reference the full text of the current element. In the scenarios above, we can imagine that there is a paragraph element with content “vegetable recipes”.

The post target-filename-lower-case appeared first on Stilo.

]]>
target-filename-words https://www.stilo.com/docs/migrate/filename-target/target-filename-words/ Mon, 15 Mar 2021 00:00:00 +0000 https://www.stilo.com/?post_type=docs&p=64186 Syntax target-filename((foldername=foldername;)filename) target-filename-camel-case(foldername=foldername;)filename) target-filename-dromedary-case(foldername=foldername;)filename) target-filename-lower-case(foldername=foldername;)filename) target-filename-words(foldername=foldername;)filename) foldername (optional) name of the directory containing the file filename name of the file […]

The post target-filename-words appeared first on Stilo.

]]>
Syntax

target-filename((foldername=foldername;)filename)

target-filename-camel-case(foldername=foldername;)filename)

target-filename-dromedary-case(foldername=foldername;)filename)

target-filename-lower-case(foldername=foldername;)filename)

target-filename-words(foldername=foldername;)filename)

foldername (optional)

name of the directory containing the file

filename

name of the file

Purpose

The target filename annotations are used to control chunking of the topics into separate files. The annotation allows the file name to be specified, and optionally the folder name as well. If no folder name is specified, the file will be created at the top level.

Typically, this annotation is applied on elements which have also had a title annotation applied. Thus, a topic is identified, and its file name is established. The text of the file name usually comes from the paragraph text to which the annotation applies. In this manner, the file name is based on the topic title.

The variations of the target file name annotations apply different filtering logic to the file name parameter. Consider the text “vegetable recipes”:

annotation description computed file name
target-filename(\*.dita) no filtering vegetable recipes.dita
target-filename-camel-case(\*.dita) capitalize first letter of every word VegetableRecipes.dita
target-filename-dromedary-case(\*.dita) capitalize first letter of every word but the first vegetableRecipes.dita
target-filename-lower-case(\*.dita) lower case text vegetable_recipes.dita
target-filename-words(\*.xml) replace funny charaters with an underscore vegetable_recipes.xml
target-filename((foldername=topics;)\*.dita) no filtering topics/vegetable recipes.dita

The \* syntax is used within annotations to reference the full text of the current element. In the scenarios above, we can imagine that there is a paragraph element with content “vegetable recipes”.

The post target-filename-words appeared first on Stilo.

]]>