Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6864679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:56:31+00:00 2026-05-27T02:56:31+00:00

I have to parse an XML document & create a HTML element for every

  • 0

I have to parse an XML document & create a HTML element for every instance element I find.

I need to create a img where its reflection AND ONLY its reflection not the image has a skew & is scaled. This means that I just cannot go:

img.style.WebkitTransform = "scale(0.26) skew(-1deg)"; // this will make the image scale & skew also

Can you suggest a way/technique that would be the most efficient & easiest way to create a scaled & skewed reflection of an img element?

Which of these would be best(although if you have better ideas I’d love to hear them :)):
– Create another HTML img below the actual image then adjust its style to make it upside down, scaled & skewed.
– Use a server side language(C#) to create the reflection as a .png
– Use CSS3 techniques/ways I dont know about?
– Use HTML5 canvas to create both the image & the scaled skewed reflection? This is a web application SOLELY for the iPad so it doesn’t matter about browser-HTML5 compatibility.

This is an example of the XML file I parse:

<instance type="ImageBox" width="439" height="292" top="153" left="460" tReflectionEnabled="true" tReflectionScale="0.26" tReflectionAlpha="0.18" tReflectionSkew="-1"/>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:56:31+00:00Added an answer on May 27, 2026 at 2:56 am

    jQuery:

    $("img").each(function() {
        $(this).wrap('<div class="imgWrap" />');
        $(this).after($(this).clone().addClass("imgCopy"));
    });
    

    CSS:

    .imgCopy { -webkit-transform:scale(.26) skew(-1deg); }

    I tested this and it works in the iOS simulator with the iPad.

    Demo

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to parse a bunch of incoming xml documents, they all have the
I have to parse an XML document that looks like this: <?xml version=1.0 encoding=UTF-8
I have to parse an xml document and have to get all the elements
i have this xml: <user> <name>H &amp; M</name> and i parse it using this
I have an XML data source that has HTML & CSS formatted data contained
I have a question for XML document special chars, I'm using & in on
I have the following XML: <document> <homeitems> <homeitem> <itemURL>URL1.html</itemURL> </homeitem> <homeitem> <itemURL>URL2.html</itemURL> </homeitem> <homeitem>
I have the following XML document that I have to parse using python's minidom:
please help me to parse xml from another xml... i have this xml named
I have written a program in C to parse large XML files and then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.