From 40dd6f3e6cb64a19b3eeb36578c40b1b1f675608 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 1 Nov 2025 02:25:19 +0300 Subject: [PATCH] Added `split files` documentation --- docs/snippets/advanced-element-split.php | 27 ++++++++++++++++++++++ docs/topics/elements.topic | 29 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 docs/snippets/advanced-element-split.php diff --git a/docs/snippets/advanced-element-split.php b/docs/snippets/advanced-element-split.php new file mode 100644 index 0000000..ceff439 --- /dev/null +++ b/docs/snippets/advanced-element-split.php @@ -0,0 +1,27 @@ + + + + + + + + + +

+ If necessary, you can limit the number of lines output to a file, as well as the number of files themselves. + To do this, use the perFile and maxFiles functions. +

+ + + +

+ The methods work independently of each other. +

+ +

+ When splitting, a sequential number will be added to the file names. For example: +

+ + +
  • attribute-1.xml
  • +
  • attribute-2.xml
  • +
  • attribute-3.xml
  • +
    +