Ramon:
What would be non-standard XHTML in Flare output? I cannot see anything non-standard. Do you have an example?
Flare's XHTML target isn't exactly XHTML. Instead, it's meant to be read by the Madcap-provided reader as an XHTML book.
As such, the
.htm files output as part of a Flare XHTML target seem to contain a lot of stuff that while not exactly a violation of XHTML syntax, does include a lot of instructions to the book reader.
For example:
Code: Select all
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="6" MadCap:lastHeight="843" MadCap:lastWidth="628" MadCap:disableMasterStylesheet="true" MadCap:tocPath="Processing Phone Interactions" MadCap:medium="print" MadCap:InPreviewMode="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="HTML" style="mc-auto-end-on-left-page: disabled; mc-page-layout: url('Resources/PageLayouts/ContactualChaptersSS.flpgl'); mc-page-layout-override: url('Resources/PageLayouts/ContactualChaptersSS.flpgl'); mc-page-number: '1'; mc-page-number-format: decimal; mc-page-number-reset: continue; mc-chapter-number: 4; mc-chapter-number-text: 4; mc-chapter-number-format: n; mc-volume-number: 1; mc-volume-number-text: 1; mc-volume-number-format: n;" MadCap:endnoteStartIndex="0" MadCap:autonumPosition="none" MadCap:pageCount="146" MadCap:bookPageCount="149" MadCap:pageContinueIndex="38">
<head MadCap:autonumPosition="none"><title MadCap:autonumPosition="none">Transferring a Phone Interaction to a Different Agent</title>
<link href="Resources/Stylesheets/ContactualManuals.css" rel="stylesheet" type="text/css" MadCap:autonumPosition="none" />
<link href="Resources/Stylesheets/MadCapBlaze.css" rel="stylesheet" type="text/css" MadCap:autonumPosition="none" />
</head>
<body MadCap:autonumPosition="none">
There are other autonumber and similar sorts of things throughout the file, as well.
An automated process (albeit not one readily available for Windows) could presumably go through the files doing lots of GREP and SED type operations to clean up the file. But that's an additional production step that not only needs to be created, it needs to be maintained.
Also, if the objective is to generate content BOTH as "document" type outputs (PDF, online help) and "non-document" XHTML, it appears to me at this point that I may have an irreconcilable conflict in how the content must be authored. That is:
- I need to include / use Flare's list, x-ref, and similar features to generate the document outputs
- I need to exclude / not use Flare's list, x-ref and similar features to generate the non-document output
In the meantime, I'll check into the mobile output target per your suggestion.
I also wonder if a DITA target might be one way to go…(?)
Cheers & thanks for your help,
Riley