From d5b8aabb32768cda553c46faf119baef575a67f9 Mon Sep 17 00:00:00 2001 From: Ahmed Tammaa Date: Thu, 23 Jan 2025 18:29:08 +0200 Subject: [PATCH] text-splitters[patch]: delete unused html_chunks_with_headers.xslt (#29340) This pull request removes the now-unused html_chunks_with_headers.xslt file from the codebase. In a previous update ([PR #27678](https://github.com/langchain-ai/langchain/pull/27678)), the HTMLHeaderTextSplitter class was refactored to utilize BeautifulSoup instead of lxml and XSLT for HTML processing. As a result, the html_chunks_with_headers.xslt file is no longer necessary and can be safely deleted to maintain code cleanliness and reduce potential confusion. Issue: N/A Dependencies: N/A --- .../xsl/html_chunks_with_headers.xslt | 199 ------------------ 1 file changed, 199 deletions(-) delete mode 100644 libs/text-splitters/langchain_text_splitters/xsl/html_chunks_with_headers.xslt diff --git a/libs/text-splitters/langchain_text_splitters/xsl/html_chunks_with_headers.xslt b/libs/text-splitters/langchain_text_splitters/xsl/html_chunks_with_headers.xslt deleted file mode 100644 index 285edfe892d..00000000000 --- a/libs/text-splitters/langchain_text_splitters/xsl/html_chunks_with_headers.xslt +++ /dev/null @@ -1,199 +0,0 @@ - - - - - div|p|blockquote|ol|ul - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

- -

-
- - -
-
- - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - [ - - ]/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -