About Arbortext Styler > Extending Stylesheets > Comparing Edited Source and XPath for Stylesheet Extension
  
Comparing Edited Source and XPath for Stylesheet Extension
The choice between using edited source or XPath expressions to extend basic stylesheet capability is an individual one, although there are some points to consider when making the choice:
Solutions involving XPath expressions will work with all outputs - a separate configuration for each output is not required. With XPath you can therefore produce an overall formatting that will apply to all output.
With edited source, a separate source edit is required for each output type (with the exception of FOSI source, which applies for both print/PDF and Arbortext Editor outputs). For this reason, the use of edited source is recommended if you wish to maintain different formatting capabilities for different outputs.
The use of edited source is also recommended if you need to include an XPath expression for an element, but that expression occurs inside generated text.