Stylesheet Development with PTC ALD > Adding PTC ALD Code to Stylesheet Source > Samples > Testing > Test Existing Text Properties and Apply Formatting Properties
  
Test Existing Text Properties and Apply Formatting Properties
Samples directory: Arbortext-path/samples/APP/Testing/TextProperties
Sample file: testTextProperties.xml
Main stylesheet: testTextProperties.style
Stylesheet modules: baseStylesheet.style and testTextPropertiesPropertySets.style
The sample is based on the standard axdocbook document type. It demonstrates how to test certain text properties and use the value of those properties to drive formatting.