xhtml elements and css

Discussion in 'XML' started by =?iso-8859-2?q?Jacek_Sa=B3acki?=, May 31, 2004.

  1. I have recently took up development with XML. I`m trying to build static
    xhtml pages from xml files.
    I have two problems:
    1. I created a xslt stylesheet transforming xml to xhtml. I made
    template generating header of the xhtml file(i.e. : <html> and
    <body> tags) and second template generating footer of file(</body> and
    </html>). When I try to use saxon with this templates, I'm getting errors:
    Error reported by XML parser: Expected "</html>" to terminate element
    starting on line
    Is there any way to avoid this problems?
    2. Do you know any methods, tutorials etc showing the way to connect
    contents of xhtml pages(generated from xml) with layout(also described in
    xml)?
     
    =?iso-8859-2?q?Jacek_Sa=B3acki?=, May 31, 2004
    #1
    1. Advertising

  2. Jacek Sa³acki wrote:

    > I have recently took up development with XML. I`m trying to build static
    > xhtml pages from xml files.
    > I have two problems:
    > 1. I created a xslt stylesheet transforming xml to xhtml. I made
    > template generating header of the xhtml file(i.e. : <html> and
    > <body> tags) and second template generating footer of file(</body> and
    > </html>). When I try to use saxon with this templates, I'm getting errors:
    > Error reported by XML parser: Expected "</html>" to terminate element
    > starting on line
    > Is there any way to avoid this problems?


    Not really, you need to have the enclosing <html></html> in one
    template, then you could have templates to create the <head> section and
    the <body> section separately.


    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Jun 1, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    7
    Views:
    902
  2. chronos3d
    Replies:
    9
    Views:
    786
    Andy Dingley
    Dec 5, 2006
  3. Usha2009
    Replies:
    0
    Views:
    1,140
    Usha2009
    Dec 20, 2009
  4. xhtml champs
    Replies:
    0
    Views:
    537
    xhtml champs
    Aug 1, 2011
  5. xhtml champs
    Replies:
    0
    Views:
    1,046
    xhtml champs
    Aug 2, 2011
Loading...

Share This Page