PD4ML can read source HTML from file, URL or Stream (Reader). Any of the methods works well. If you stream HTML, you may

  • define CSS style inline with
  • use fully specified stylesheet URL (in tag)
  • use reletive path to stylesheet (in the case you need to use render() method with URL base parameter or to specify the base with tag in HTML)
  • explicitly pass style with addStyle() API call