Jump to content

AJ75

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by AJ75

  1. 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

  2. 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

  3. 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

    SVG

    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 !! ??

    SVG

    After searching the Web, I found out where my problem is: You can´t use Links in an <image>-Element ! :) But my problem is still there ! How can I use Links in an clippath in SVG ??? Can anyone help me, PLEASE ????? :) Thanx,AJ

    SVG

    My player.svg with following code:

    <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>
    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:
    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;}
    Hope this helps.

    SVG

    Hi boen_robot !Thanx for your reply !The Links on my SVG-Player (play, stop...) emded in HTML works fine, but not the Links on the Objekts in my "screen" as a clip-path !! Scrolling the SVG-file in the clip-path is also ok.Thany, AJ

    SVG

    Hi !I´m trying to use a link from a clip-path in an SVG-File, embded in HTML.Anyone can help, please ??Thanx !!AJ

×
×
  • Create New...