2 Replies Latest reply on Mar 2, 2010 7:15 PM by yenelli

    Generating Web Help. Files get updated causing invalid HTML error.

    yenelli Level 1

      RH 8 seems to have a mind of its own just now for fiexing info in the header.

      Is the header info order dependent, and if so, how do I work around the title tag that's buried in the middle?

       

       

      Tried to use the RH Editor to add a custom icon by replacing a part of the header in topics :

       

      <link rel="icon" type="image/vnd.microsoft.icon" href="rbme.ico" />

       

      This caused several problems.

       

      1) RH inserted StyleSheet&quot; rather than StyleSheet>

      2) RH removed the template, which I then added back in.

      3) RH added a closing </head>

       

       

      Essentially, I wound up with several renditions of this:

       

      <link rel="StyleSheet&quot;" href="UBmatrix.css" type="text/css" />

       

      When I deleted the extra occurrences in a text editor, I wound up getting multiple occurrences of the </head> just below the opening tag.

        • 1. Re: Generating Web Help--replicating the </head> when files get updated causing invalid HTML error.
          yenelli Level 1

          This example shows THREE closing head tags; it is the only topic that has 3. About half of the other 250 topics had two closing head tags, and half are OK, don't generate errors. Obviously the faulty topics won't display. What is causing this so I don't do it again.

           

          <?xml version="1.0" encoding="utf-8" ?>
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
          <meta name="template" content="UBmatrix template.htt" />
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
          <meta http-equiv="Content-Language" content="en-US" />
          <meta name="generator" content="Adobe RoboHelp 8" />
          <title>Generating the Validation Reports</title>
          <link rel="StyleSheet" href="UBmatrix.css" type="text/css" />
          <link rel="icon" type="image/vnd.microsoft.icon" href="rbme.ico" />
          <link rel="StyleSheet&quot;" href="UBmatrix.css" type="text/css" />
          </head>

           

          <body> <h2>Generating Validation Reports</h2> <p>Prior to generating an instance document,
          you need to validate the data (fact values) entered in the workbook using the following validation reports:</p> <ul type="disc"> <li class="p" style="font-weight bold;"><p class="BulList">Calculation Trace</p></li> <li class="p" style="font-weight bold;"><p class="BulList">Formula Trace</p></li> </ul> <p class="ProcedureHead">To generate the Validation reports</p> <ol class="whs1" type="1"> <li class="p"><p>From the <span style="font-weight bold;"><b>UBmatrix</b></span> menu,
          select <span style="font-weight bold;"><b>Reports -&gt; Instance/Validation Report</b></span> <span style="margin-left 40px;">The</span> <span style="margin-left 40px; font-weight bold;"><b>Generate Reports</b></span> <span style="margin-left 40px;">dialog display.</span></p></li> <li class="p"><p>In the <span style="font-weight bold;"><b>Validation</b></span> section of the <span style="font-weight bold;"><b>Generate Reports</b></span> dialog,
          select the validation options as depicted in the following screen shot.</p></li> </ol> <p><img src="generatereports.jpg" alt="" style="border none;" width="421" height="554" border="0" /></p> <ol start="3" class="whs1" type="1"> <li class="p"><p>Click <span style="font-weight bold;"><b>Generate</b></span> to generate the selected reports If the attached taxonomy has no formulas,
          the following warning message displays.</p></li> </ol> <p><img src="noformulas.jpg" class="img_whs4" alt="" width="516" height="130" border="0" /></p> <p>Click <span style="font-weight bold;"><b>OK</b></span> to close the message.</p> <p>The other reports are run and the Reports dialog box shows the <span style="font-weight bold;"><b>Calculation Trace</b></span> and <span style="font-weight bold;"><b>Validation</b></span> reports in tabbed format.</p> <p><img src="calc-trcae.jpg" class="img_whs5" alt="" width="507" height="351" border="0" /></p> <p><img src="validation.jpg" class="img_whs6" alt="" width="511" height="347" border="0" /></p> <p>If both reports show no errors,
          the workbook data are valid If there are errors,
          correct them before you <a href="Generating_the_Instance_Report.htm">generate and save an Instance document</a>.</p> <?rh-placeholder type="footer" ?> </body> </head>

          <body>
          <p>&#160;</p>
          <?rh-placeholder type="footer" ?>
          </body>
          </html>

          • 2. RH inserts  stylesheet and </head>. It doesn't recognize the metadata.
            yenelli Level 1

            Last example is an old "imported the published content"   so I don't need explanation about that.

             

            However, here's one typical problem showing up in the headers (RoboHelp inserted the 5th and 6th lines, which replicates 11th and 12th lines:

             

            <?xml version="1.0" encoding="utf-8" ?>
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <link rel="StyleSheet" href="UBmatrix.css" type="text/css" />
            </head>
            <meta name="template" content="UBmatrix template.htt" />
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <meta http-equiv="Content-Language" content="en-US" />
            <meta name="generator" content="Adobe RoboHelp 8" />
            <title>XBRL Framework</title>
            <link rel="icon" type="image/vnd.microsoft.icon" href="rbme.ico" /> <link rel=StyleSheet" href="UBmatrix.css" type="text/css" />
            </head>

            <body>

             

            However, here's a