OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Vocabulary Combination

[ Lists Home | Date Index | Thread Index ]

I wrote:

| Judging from the intent of the example, I hypothesize that the relevant
| views are, for the html-vocabulary:
| 
|   <html
|    <body>
|     XML: A Primer
|     <table>
|      <tr align="center">
|       <td>Author</td><td>Price</td>
|       <td>Pages</td><td>Date</td></tr>
|      <tr align="left">
|       <td>Simon St. Laurent</td>
|       <td>31.98</td>
|       <td>352</td>
|       <td>1998/01</td>
|      </tr>
|     </table>
|    </body>
|   </html>

Oops!  Editing accident.  That should be:

   <html>
    <head><title>Book Review</title></head>
    <body>
     XML: A Primer
     <table>
      <tr align="center">
       <td>Author</td><td>Price</td>
       <td>Pages</td><td>Date</td></tr>
      <tr align="left">
       <td>Simon St. Laurent</td>
       <td>31.98</td>
       <td>352</td>
       <td>1998/01</td>
      </tr>
     </table>
    </body>
   </html>

Note that the view could also be 

   <html>
    <head><title>Book Review</title></head>
    <body>
     <table>
      <tr align="center">
       <td>Author</td><td>Price</td>
       <td>Pages</td><td>Date</td></tr>
      <tr align="left">
       <td>Simon St. Laurent</td>
       <td>31.98</td>
       <td>352</td>
       <td>1998/01</td>
      </tr>
     </table>
    </body>
   </html>

if the html version is the "strict" variety which doesn't allow free
standing text.  (This is the more interesting case, actually).





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS