xml spy
Previous  Top  Next
CALS / HTML How to...

The aim of this How to... section is to show you how to insert a HTML table into a Document Editor XML file. Inserting a CALS table works in exactly the same way. This example will use the Html-OrgChart.xml file supplied in the Examples folder.

You can of course, also start from an empty template file, using the File | New command and clicking the "Select a Document Editor template", and selecting the HTML-OrgChart.sps. You can then insert a CALS or HTML table at the point specified by the schema file.

The ...\Altova\XML Spy Suite\Examples folder:
 
·contains Html-OrgChart.xml into which the HTML table will be inserted  
 
·contains the Html-OrgChart.xsd schema file which defines the types of tags available and also where the HTML table can be inserted.  
 
·contains the Html-OrgChart.sps file, which servers as the template for the Html-Orgchart.xml file. This file was created in XSLT Designer.  


Please note:
The Html-OrgChart.xsd file includes the HTML table tags under the para tag. This means that HTML tables can only be inserted within/under a para tag in Document Editor.  
 
To add CALS or HTML tables anywhere else in this example, the schema file would have to be edited. You would have to insert the table element (with all table sub elements and attributes) at the position you want to a CALS / HTML table to be inserted.  

Previous  Top  Next

© 2002 Altova