Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Variables in XSLT >Thread Next - Re: Variables in XSLT Re: Variables in XSLTTo: NULL Date: 11/2/2006 7:13:00 PM
Carles Company Soler wrote:
> <line x1="{@x*$xper+10}" y1="{@y*$yper+25}" x2="{id(@to)/@x*$xper+160}"
> y2="{id(@to)/@y*$yper+25}" style="stroke:rgb(99,99,99);stroke-width:2"
> marker-end="url(#Triangle)" />
One problem with Firefox is certainly that you use an external DTD
(which Firefox' XML parser does not read at all as it is a non
validating parser) but then you are using the XPath id function which
depends on the parser having information about attribute types. That way
for Firefox and those line attributes you get e.g. x2="NaN" y2="NaN".
For Firefox you either need to define those ID attributes in the
internal subset of the DTD or you need to use other ways than the XPath
id function to reference those values.
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
