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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] HTML- SVG problem: How to change HTML tags?

> -----Original Message-----
> From: Schramm, Martin 

> Then I have tried to run the xsl transformation, but I have 
> got the following error message:
> "line 170 element element unregistered variable tag 
> xmlXPathCompiledEval: evaluation failed"
> (line 170 says: <xsl:element name="{$tag}">)
> So, the HTML code is evaluated with the result, that I am not 
> allowed to replace the "object" tag by "data".
> This is a pity, because "object" does not work in the 
> internet explorer for unknown reasons, and "data" does.
> - Is there a way to turn off the HTML evaluation? 

There is no "HTML evaluation" to turn off. The XSLT processor does not care
what elements you put in the output. It can be <object>, <data>, or
<whatever>, as long as you keep everything well-formed.

The error message refers to the 'tag' parameter, declared at the beginning
of the process.image template. It is hard to say what the problem is without
seeing your complete customization (+ source XML and SVG).

By the way, are you really sure that the SVG image is not displayed in IE
(using <object>)? Have you tried zooming in/out in the viewport area, using
Adobe SVG Viewer's context menu?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]