XML::Filter::DetectWS v.0.01


XML::Filter::DetectWS is a PerlSAX filter that detects which character data contains ignorable whitespace and optionally filters it.Note that this is just a first stab at the implementation and it may change completely in the near future. Please provide feedback whether you like it or not, so I know whether I should change it.The XML spec defines ignorable whitespace as the character data found in elements that were defined in an declaration with a model of 'EMPTY' or 'Children' (Children is the rule that does not contain '#PCDATA'.)In addition, XML::Filter::DetectWS allows the user to define other whitespace to be ignorable. The ignorable whitespace is passed to the PerlSAX Handler with the ignorable_whitespace handler, provided that the Handler implements this method. (Otherwise it is passed to the characters handler.) If the SkipIgnorableWS is set, the ignorable whitespace is simply discarded.XML::Filter::DetectWS also takes xml:space attributes into account. See below for details.CDATA sections are passed in the standard PerlSAX way (i.e. with surrounding start_cdata and end_cdata events), unless the Handler does not implement these methods. In that case, the CDATA section is simply passed to the characters method.SYNOPSIS use XML::Filter::DetectWS; my $detect = new XML::Filter::DetectWS (Handler => $handler, SkipIgnorableWS => 1);

XML::Filter::DetectWS is a PerlSAX filter that ... A PerlSAX filter that detects ignorable whitespace ...

  • XML::Filter::DetectWS
  • 0.01
  • T.J. Mather
  • Linux
  • Freeware
  • 10 Kb
  • 289
  • Free

Review XML::Filter::DetectWS

  • captcha

Other software of T.J. Mather
    New Miscellaneous software
    • ASP. NET PDF Generator  v.2020.8.1The primary function of Iron PDF for ASP.NET is the generation of PDF documents using HTML to PDF technology. In addition, Iron PDF can be used to sign PDFs, edit existing PDFs, and extract content such as text and images from uploaded PDF documents.
    • OCR in .Net  v.4Iron OCR is a OCR .NET library allowing users to convert images and PDF documents back into text using the .NET Framework in C#, F#, or VB.NET.
    • The .Net PDF Library  v.2020.7.1A .NET PDF library such as Iron PDF is a software library for C#, VB.NET, and other .NET Framework developers to work with PDFs generating PDFs, editing PDFs, and extracting PDF content within their applications. Supports .Net Core & .Net Framework.