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 7975319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:36:51+00:00 2026-06-04T08:36:51+00:00

From (Twitter format example) Tue, 15 May 2012 15:40:34 +0000 to (ISO format example)

  • 0

From (Twitter format example)

Tue, 15 May 2012 15:40:34 +0000

to (ISO format example)

2005-12-01T13:45:00

using XSLT


Here’s an XML snippet

<item>
     <title>It's called "Kangaroo Care" - what parents can do to create a special bond and improve the health of their newborns: http://t.co/8MV8FpM4</title>
        <link>http://twitter.com/ProvHealth/statuses/202423233104973826</link>
        <description>It's called "Kangaroo Care" - what parents can do to create a special bond and improve the health of their newborns: &lt;a href="http://t.co/8MV8FpM4"&gt;http://t.co/8MV8FpM4&lt;/a&gt;</description>
     <pubDate>Tue, 15 May 2012 15:40:34 +0000</pubDate>
        <guid>http://twitter.com/ProvHealth/statuses/202423233104973826</guid>
        <author>ProvHealth@twitter.com (Providence Oregon)</author>
     <media:content type="image/jpg" height="48" width="48" url="http://a0.twimg.com/profile_images/748948431/cross_normal.png"/>
     <google:image_link>http://a0.twimg.com/profile_images/748948431/cross_normal.png</google:image_link>
        <twitter:metadata>
         <twitter:result_type>recent</twitter:result_type>
     </twitter:metadata>
 </item>
  • 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-04T08:36:52+00:00Added an answer on June 4, 2026 at 8:36 am

    Here’s some ideas about how to approach this.

    1. you can do substring wrangling like in this example:
      Format a date in XML via XSLT.
      You will likely have to create yourself a few “enumerables” for
      days of the week and months.

    2. XPath 2.0 gives you XSD types constructor functions and
      you can get some help from these on top of substring wrangling.

    3. if your transformer supports EXSLT you can go with the
      date/time extension functions.

    4. EXSLT also has regular expression support which you can
      use to parse the twitter date into chunks for further conversion
      into the ISO date.

    5. you can write a custom extension function in whatever
      technology you use to drive your XSLT to run the conversion for you.

    With that said, there’s no one-function “easy” way to accomplish what you need in XSLT.

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

Sidebar

Related Questions

I am parsing the public timeline xml from twitter and want to display images
I'm using the popover object from Twitter's Bootstrap library in manual mode and I
Is it possible to get all/latest tweets from twitter public list? Example list: https://twitter.com/#!/thecaucus/u-s-senate
First, I'm using an NSURLConnection to download JSON data from twitter. Then, I'm using
Is there a better way to format text from Twitter to link the hyperlinks,
I'm trying to decode JSON received from twitter streaming API using JSONConvert from NewtonSoft.Json
Currently, i am using http://search.twitter.com/search.json?q=<search term> to obtain tweets from twitter. But, it returns
Trends data from Twitter Search API in JSON. Grabbing the file using: $jsonurl =
I've been using django-social-auth (https://github.com/omab/django-social-auth), with some success - logging in from Twitter and
The date you get back from twitter is in this format Fri Aug 07

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.