Jump to content

Coach

Members
  • Posts

    6
  • Joined

  • Last visited

Coach's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I want to know if this statement is valid to generate XML code:select xmlgen.getXml('select aircraftsuspensionid, missionid, projectid, suspensionid, suspensionnamefrom aircraftsuspensionwhere aircraftsuspensionid = 22') from dual;I get the following error when I execute the above statement:ERROR at line 1:ORA-00904: "XMLGEN"."GETXML": invalid identifier
  2. I'm using OxygenXML Editor to write and edit my code, and to do the transformation. In the end, we would like to save to the application server. We figure, if it's possible to save to a client PC then it's possible to save to the application server. I'm using OxygenXML Editor to write and edit my code, and to do the transformation. In the end, we would like to save to the application server. We figure, if it's possible to save to a client PC then it's possible to save to the application server.
  3. Via XML and my XSL stylesheet, I created an SVG image. I would like to know, is it possible to add a line or lines of code to the XML file to name the SVG image and save it to my desktop hard drive.
  4. This was an example I found on line. The only thing I did was add 3 buttons to make changes to the image (A blue circle). Change the color to green, scale the image .25 its size, and reset to original image. When I click on any of the buttons, nothing happens. So, I'm just looking for code to change color, scale image, and reset image.
  5. Coach

    note.xml

    Good Day,If you go to the link provided, http://www.w3schools.com/xml/xml_examples.asp and scroll down to Examples/Quiz, and click on XML Examples. On that page there's a section identified as The Microsoft XML Parser; the first item under that section has the note.xml file. If you can't get to it, here's the code: <?xml version="1.0" encoding="ISO-8859-1" ?> <!-- Edited with XML Spy v2006 (http://www.altova.com) --> <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>
  6. I've been usning XML and XSL for a whole 3 days now, so I guess I'm a newbie. I'm using Oxygen as my editor and debugger for XML and XSL files respectivefully. I've created a circle image and I want to modify that image by pressing on buttons - Change button to change the color, Scale button to scale the image by a certain percentage, and Reset button to return circle to its original state. See XML and XSL code below. Please help:XML code:<?xml-stylesheet type="text/xsl" href="simple.xsl" alternate="no" ?><root />XSL code:<?xml version="1.0" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html xmlns:svg="http://www.w3.org/2000/svg"> <object id="AdobeSVG" CLASSID="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"> </object> <xsl:processing-instruction name = "import" > namespace="svg" implementation="#AdobeSVG" </xsl:processing-instruction> <head> <title>SVG Example</title> </head> <script> function change_style(style_string) { document.getElementById("circ").setAttribute("style", style_string); } </script> <body> <!-- style="font-family:Arial;font-size:12pt" <input type="submit" id="btn_sub" name="btn_sub" value="Change" /> <input type="submit" id="btn_min" name="btn_min" value="Minimize" /> <input type="reset" id="btn_reset" name="btn_reset" value="Reset" /> --> <button onclick="change_style('fill:green:');" type="submit">Change</button> <button onclick="change_style(0.5);" type="submit">Scale</button> <button onclick="change_style();" type="submit">Return</button> <svg:svg width="190px" height="190px" viewBox="0 0 190 190"> <svg:circle cx="80" cy="80" r="60" id="circ" fill="blue" stroke="black" stroke-width="2"/> </svg:svg> <footer> <h4> Change image color, minimize image size, and reset image to original state. </h4> </footer> </body> </html> </xsl:template> </xsl:stylesheet>
×
×
  • Create New...