HTML to Docbook
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 2
- Joined: Sat Nov 04, 2006 5:25 pm
- Contact:
HTML to Docbook
Does anyone have any idea how to transform HTML document to the DocBook DTD using javascript. is there another way to do it pls let me know
pls click on the following links to see an example of HTMl document that is needed to be translate into DocBook DTD.
Html file http://webmail.padawan.shinawatra.ac.th ... /html.html
DocBooK http://webmail.padawan.shinawatra.ac.th ... cbook.html
thank you.
pls click on the following links to see an example of HTMl document that is needed to be translate into DocBook DTD.
Html file http://webmail.padawan.shinawatra.ac.th ... /html.html
DocBooK http://webmail.padawan.shinawatra.ac.th ... cbook.html
thank you.
-
- Posts: 2
- Joined: Sat Nov 04, 2006 5:25 pm
- Contact:
is there any possible way to do so?
may be there's not any automatic way but would you tell me any way to do so if you know?
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Manually
. Start with the XHTML document, delete and rename tags until you end up with DocBook.
If you have some operations that you know you want to have them performed all the time, on any document that you convert then you can write an XSLT stylesheet to do that processing. In general you can start with a default copy template
and add your specific processing rules.
Best Regards,
George

If you have some operations that you know you want to have them performed all the time, on any document that you convert then you can write an XSLT stylesheet to do that processing. In general you can start with a default copy template
Code: Select all
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
Best Regards,
George
George Cristian Bina
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: HTML to Docbook
You can copy and paste from a browser to a DocBook 5 file and if that is open in the Author editing mode then oXygen will trigger its smart paste conversion to DocBook5
http://www.oxygenxml.com/doc/ug-editor/ ... pport.html
Hope this helps!
George
http://www.oxygenxml.com/doc/ug-editor/ ... pport.html
Hope this helps!
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service