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

  • SEARCH
  • Home
  • 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 8321859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:10:14+00:00 2026-06-08T23:10:14+00:00

I try to read in a .xlsx File in a Flex Application. Now I

  • 0

I try to read in a .xlsx File in a Flex Application.
Now I try to determine where are my information. Therefore I got the XML Data out of the .xlsx file:

var x:XML = <worksheet mc:Ignorable="x14ac"
  xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
  xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" 
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
  xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">
     <dimension ref="A1:F77"/>
</worksheet>;

Now I like to get the dimensions attribute “ref”. Therefore I use the following code:

var test:Object = x.dimension;
var value:Object = x.dimension.@ref;

Both work perfect if I leave the schema expression at the worksheet. How can I get the correct result with including schemas? Is there a nice way to get the XML without schemas?

Tanks for your help.

  • 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-06-08T23:10:16+00:00Added an answer on June 8, 2026 at 11:10 pm

    It’s because dimension is in the default namespace xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"

    So you can simply get the default namespace of you xml and use it like this:

    var ns:Namespace = x.namespace();
    var value:Object=x.ns::dimension.@ref;
    

    or create it youself and use it the same way:

    var ns2:Namespace=new Namespace("http://schemas.openxmlformats.org/spreadsheetml/2006/main");
    var value2:Object=x.ns2::dimension.@ref;
    

    Here the live test on wonderfl:
    http://wonderfl.net/c/7XwU

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

Sidebar

Related Questions

When i try read my xml file it seems to reads it twice and
i try to read Data from an Oracle-Database. The problem is that in some
I try to read out all existing calendars. I want have a HashMap with
I try to read out all existing calendars. I tried the example from here:
I try to read a text files with 20x20 data into variable C, and
I try to read file /proc/'pid'/status, using c program. The code is as follows,
I managed to read from a .xlsx file from java using Apache POI. Only
I try to read and write data from/to Socket with NSStream. Here is my
I try to read JSON file with Java. The code is: public static void
hi everyone I try to read the information of this direction http://finance.yahoo.com/d/quotes.csv?s=XOM+BBDb.TO+JNJ+MSFT&f=snd1l1yr SAXParserFactory factory=

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.