AJ75
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by AJ75
-
-
Hi,is it possible to use XSL-FO in IE dynamically ??Which tool do i need to transform an xml-file (fo-object) to pdf on the fly ??Thanx,AJ
-
Hi!Following Element of an XML-File is given:
<element media="1" url="./folder1/1/2/2/index.html"/>
Now I´m trying to get the content in the index.html (the <p>-Tags) and write the result into an new xml-element.With
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0"); var objNodeList; xmlDoc.async = false; xmlDoc.load("my.xml"); if (xmlDoc.parseError.errorCode != 0) { var myErr = xmlDoc.parseError; alert("You have error " + myErr.reason); } else { objNodeList = xmlDoc.getElementsByTagName("element"); for (var i=0; i<objNodeList.length; i++) { alert(objNodeList.item(i).xml); } }
I get the tag element, but how do I get the content of the index.html dynamically ?Thanx for any help!AJ
-
Hi,I´ve got problems with Hyperlinks in SVG after transforming with XSLT in IE6.Even when I paste them in an iFrame, the Hyperlinks in an embded SVG don´t work.Anyone can help please ?Thanx,AJ
-
Thanx for your reply !I think thats the only way to get the AVi files.I thought to save the AVI Files local, but then I need JavaScript ore something else... right ??Thanx !
-
Hi,is it possible to make an AVI Export with XSLT ?I have an xml-file which includes links to html-file with avi files.Now I would like to export the avi-files with XSLT.Is it possible ?? And how can I make it ??Thanx !AJ
-
I´ve tried that like this:My clippath between <defs>:<
clipPath id="interface"> <rect x="14.0" y="75.0" fill="none" width="220.0" rx="70" id="rect" ry="30" height="273.0"/> </clipPath>
and the content of that clippath:
<g clip-path="url(#interface)"><use onmousedown="StartScroll(evt,220,273)" width="400" height="600" onmouseup="StopScroll(evt)" onmousemove="DoScroll(evt)" x="15.0" y="45.0" xlink:href="some.svg#text"/></g>
Viewing this in Batik, the Text and Links are shown, but no scrolling is available.In IE6 I can´t see anything!!!!I have to show the Text and Links in clippath and do the scrolling in IE6 !!Don´t know why the IE can´t handle that !! ??
-
-
My player.svg with following code:
The test.svg is a svg-file transformed from a xml-file. It includes some graph-objects with links on them.Here is the StartScroll function:<defs><clipPath id="ermo"> <rect x="161.0" y="129.0" width="220.0" rx="70" height="273.0" ry="30" stroke="#ffffff"/></clipPath></defs><g clip-path="url(#ermo)"> <image x="0" y="0" width="1000" xlink:href="test.svg" height="1000" id="ermo_2" onmousedown="StartScroll(evt,220,273)" onmouseup="StopScroll(evt)" onmousemove="DoScroll(evt)"/></g>
Hope this helps.function StartScroll(click_evt,p_clip_width,p_clip_height){ is_scrolling=true; scroll_obj=evt.getTarget(); start_x=evt.getClientX(); start_y=evt.getClientY(); min_scroll_x=-parseInt(scroll_obj.getAttribute("width"))+p_clip_width; min_scroll_y=-parseInt(scroll_obj.getAttribute("height"))+p_clip_height;} -
-
XSL-FO dynamically in IE ??
in XSLT/XSL-FO
Posted
I´m thinking of a solution, where the user klicks on a link in IE, a JavaScript routine gets the textelements in the xml-file, a stylesheet transforms the xml-file to an fo-object which then be put out to pdf by an generator...???Is it possible ??Thanx,AJ