Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm pulling a number (year e.g: 2010) from a remote url.
I'm using the following xpath:
//div[@class="postMeta"]/span/a[@rel="tag"]
It works fine as long as I tamper it to format as a number, but when I remove the option to use a character (let's say ",") as a thousands separator it doesn't show anything.
How come?
Comments
Comment #1
twistor CreditAttribution: twistor commentedThis seems to be working fine. There's even a test for it.