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] Future of XSL-FO at W3C??

[ Lists Home | Date Index | Thread Index ]

G. Ken Holman wrote:
>> After all, the input
>> to XSLT doesn't have to be 'proper' XML, doesn't it?
> 
> It is an absolute requirement to have well-formed XML.

Nitpick: You need to pass the XSLT processor some data
in the same form an XML parser would do. You *can* write
a parser which reads CSS syntax and transforms them on the
fly into some SAX events, pretending you read
  <style>
    <group>
      <matches>
        <match><e>p</e></match>
        <match><e class="sect">div</e></match>
      </matches>
      <font-size>12pt</font-size>
    ...
instead of
   p, div.sect { font-size: 12pt, ...

(I don't claim the XML above is well designed).

J.Pietschmann





 

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

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