Commit eec0d822 authored by Fabien Boucaud's avatar Fabien Boucaud

Update README.md

parent eeb34a39
......@@ -54,7 +54,7 @@ See also : https://bimestriel.framapad.org/p/nf29_framapad_to_opale for the full
- Apply html2xhtmlv1.xsl : this xsl is used as a fix and adds br tag at the end of lists (ul and ol)
- Apply html2xhtmlv2.xsl : this xsl surround text line with p tags and transforms non-hdoc tags into hdoc tags as s, u, strong tags.
- Apply html2xhtml3.xsl : this xsl is used as a fix, it deletes p tags when its child is ul or ol
- Apply html2hdocstruct1 to 6 : those xsl files are dedicated to building the hdoc structure based on the titles <h1> to <h6>
- Apply html2hdocstruct1 to 6 : those xsl files are dedicated to building the hdoc structure based on the titles h1 to h6
- Apply html2hdocstructdivsection: this xsl completes the sections created in the previous xsl with <div> around the actual content of each level
- Apply xhtml2hdoc.xsl : this xsl transforms the content into hdoc structure and changes the namespace
......@@ -75,4 +75,4 @@ See also : https://bimestriel.framapad.org/p/nf29_framapad_to_opale for the full
## Capitalisation
Using regular expression with xsl is a good way to parse a non xml file.
We can note about the creation of the hdoc's structure with the titles <h1> to <h6> that XSLT is probably not the best tool for these specific transformations. Something like SAX, which actually explore the XML files sequentially, would probably be more efficient and easier to use for these kinds of transformations.
We can note about the creation of the hdoc's structure with the titles h1 to h6 that XSLT is probably not the best tool for these specific transformations. Something like SAX, which actually explore the XML files sequentially, would probably be more efficient and easier to use for these kinds of transformations.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment