Created
December 7, 2014 02:49
-
-
Save romot-co/37c78872ec3f1d3861a9 to your computer and use it in GitHub Desktop.
jQueryでdc:titleのような : (コロン) があるXMLタグの中身を読む ref: http://qiita.com/futosu/items/ad61eb7584dc70ccce76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dc:title>タイトル</dc:title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( xml ).find( 'dc:title' ).text(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( xml ).find( 'title, dc\\:title' ).text(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( xml ).find( 'dc\\:title' ).text(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( xml ).find( 'title' ).text(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( xml ).find( 'title, dc\\:title' ).text(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment