Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Empty element match

From: David Carlisle <davidc@---.--.-->
To: NULL
Date: 7/1/2005 1:33:00 PM
  but why how do i overcome the problem that the parser/transformer
  on the hostingprovider does not listen to the xsl:output method attribute?


You need to tell your serialser to output using html.
You haven't said which system you are using. The onlt one I use that
doesn't use xsl:output is cocoon where the serialisers (be it html,
xhtml, text, pdf, ...) are set up in sitemap.xmap with lines looking
something like

  <map:serializers default="html">
    <map:serializer logger="sitemap.serializer.links" name="links" src="org.apache.cocoon.serialization.LinkSerializer"/>

    <map:serializer logger="sitemap.serializer.xml" mime-type="application/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/>

    <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
      <buffer-size>1024</buffer-size>
    </map:serializer>

the above is just boiler plate declarations part of the default
site map 

then for a particular file that is to be serialised as html:



  <map:pipeline>
   <map:match pattern="index.html">
    <map:generate src="xml/frontpage.xml" type="file"/>
    <map:transform src="stylesheets/html/om-page.xsl"/>
    <map:serialize type="html"/>
             ^^^^^^^^^^^^^^^^
   </map:match>
  </map:pipeline>


If you are not using cocoon then the above syntax will be wrong, but
probably something similar is available...


David



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent