Unanswered XML returned wont allow me to modify it

  • Thursday, April 26, 2012 2:32 PM
     
     

    Really basic level stuff here. I used an XML datasource to populate my report from passed xml. however, trying anything like Round, CDate, etc on the data causes #Error, and using the formatting tab to do the same conversions shows no change.

    Can anyone help?

All Replies

  • Thursday, April 26, 2012 7:30 PM
     
     

    bump?

    For example, i can do IsNumeric() on a field... returns True. I try to actually manipulate the data, nope. #Error. What's wrong?
  • Friday, April 27, 2012 2:33 PM
     
     
    bump. Still experiencing this issue. I know it's because the <Query></Query> is done at the report level. Is there really nothing I can do?
  • Friday, April 27, 2012 7:25 PM
     
     
    another bump...
  • Monday, April 30, 2012 8:02 AM
    Moderator
     
     

    Hi TheTurdFerguson,

    From your description, it seems that you create the dataset query by including an XML Query or an element path. The XML Query starts with a <Query> tag and includes namespaces and XML elements that vary depending on the data source.  An element path is namespace-independent and specifies which nodes and node attributes to use from the underlying XML data with an XPath-like syntax.

    At this time, I suggest that you verify the XML Schema. To do this, you can run this query in the Query Designer, but exclude everything between the <ElementPath IngnoreNamespaces="true"></ElementPath>. This will return the Dataset ID, Field Names, Data Types, etc. With this information, you may construct the element path accordingly.

    For more information, please see:
    XML Query Syntax for Specifying XML Report Data

    Also there is a sample for your reference:
    Using XML Data Source type and Querying a Web Service

    Hope this helps,

    Regards,
    Mike Yin

     

  • Monday, April 30, 2012 1:14 PM
     
     

    Hi TheTurdFerguson,

    From your description, it seems that you create the dataset query by including an XML Query or an element path. The XML Query starts with a <Query> tag and includes namespaces and XML elements that vary depending on the data source.  An element path is namespace-independent and specifies which nodes and node attributes to use from the underlying XML data with an XPath-like syntax.

    At this time, I suggest that you verify the XML Schema. To do this, you can run this query in the Query Designer, but exclude everything between the <ElementPath IngnoreNamespaces="true"></ElementPath>. This will return the Dataset ID, Field Names, Data Types, etc. With this information, you may construct the element path accordingly.

    For more information, please see:
    XML Query Syntax for Specifying XML Report Data

    Also there is a sample for your reference:
    Using XML Data Source type and Querying a Web Service

    Hope this helps,

    Regards,
    Mike Yin

     

    Umm... that has nothing to do with what I'm asking. I'm asking how I can modify columns returned by the XML query. The only time I mentioned datatypes was mentioning that it didnt work in converting them at all, but yet would return true if ISNumeric() was performed.
  • Wednesday, May 02, 2012 7:35 PM
     
     
    bump
  • Thursday, May 03, 2012 8:33 PM
     
     
    to the top. anyone please?
  • Friday, May 04, 2012 6:50 PM
     
     
    to the top.
  • Monday, May 07, 2012 1:15 PM
     
     
    bump. still need help here guys... please?
  • Tuesday, May 08, 2012 1:21 PM
     
     
    bump again
  • Wednesday, May 09, 2012 2:58 PM
     
     
    bump again.... this is getting ridiculous