{"id":27268,"date":"2023-07-24T05:45:00","date_gmt":"2023-07-24T03:45:00","guid":{"rendered":"https:\/\/expert-only.com\/?p=27268"},"modified":"2023-10-03T18:50:30","modified_gmt":"2023-10-03T16:50:30","slug":"xml-value-method-sql-server","status":"publish","type":"post","link":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/","title":{"rendered":"How To Use The XML value() Method in SQL Server?"},"content":{"rendered":"\n<p>When it comes to working with XML data in SQL Server, the value() method offers unparalleled utility for extracting single data elements. This powerful T-SQL feature lets you convert the extracted XML data into SQL Server data types, making it easier to integrate with the rest of your database. In this comprehensive guide, we will delve into the details of using the value() method effectively.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-xml-value-method-features\">The XML value() method features<\/h2>\n\n\n\n<p>The XML <code>value()<\/code> method plays a pivotal role in:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Converting XML data into SQL Server data types, such as INT, VARCHAR, and FLOAT.<\/li>\n\n\n\n<li>Extracting specific values for calculations or conditional logic.<\/li>\n\n\n\n<li>Enabling the integration of XML data with relational database operations.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-the-xml-example-sales-table\">Create the XML example Sales table<\/h2>\n\n\n\n<p>We will be using the same example <em>Sales<\/em> table as in our previous post, which contains an XML column named ProductDetails. Here&#8217;s how you can create this table, simply connect to a SQL Server instance and database using SSMS and run the script.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">CREATE TABLE Sales (\n  SalesID INT PRIMARY KEY,\n  ProductDetails XML\n);\n<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-insert-sample-data-into-the-sales-table\">Insert sample data into the Sales table<\/h2>\n\n\n\n<p>Before diving into the Transact-SQL value() method, let&#8217;s populate the Sales table with some sample data, 2 lines with basic data. As you may know, in Finance and Business Intelligence, the sales table contains one of the most <a href=\"https:\/\/www.investopedia.com\/terms\/d\/data-analytics.asp\" target=\"_blank\" rel=\"noreferrer noopener\">strategic data<\/a>, because directly linked to the company&#8217;s revenue.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">INSERT INTO Sales (SalesID, ProductDetails)\nVALUES (1, '&lt;Product>&lt;Name>Laptop&lt;\/Name>&lt;Price>800&lt;\/Price>&lt;Stock>120&lt;\/Stock>&lt;\/Product>');\n\nINSERT INTO Sales (SalesID, ProductDetails)\nVALUES (2, '&lt;Product>&lt;Name>Smartphone&lt;\/Name>&lt;Price>500&lt;\/Price>&lt;Stock>200&lt;\/Stock>&lt;\/Product>');\n<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-understand-the-t-sql-value-method-syntax\">Understand the T-SQL value() Method syntax<\/h2>\n\n\n\n<p>The generic syntax for the value() method is as in the following code and it uses two main arguments:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>XQuery_Expression<\/em>: The XQuery expression to locate the data in the XML column.<\/li>\n\n\n\n<li><em>SQL_Type<\/em>: The <a href=\"https:\/\/expert-only.com\/en\/t-sql\/sql-server-data-types\/\">SQL Server data type<\/a> you want to convert the XML data into.<\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">SELECT column_name.value('XQuery_Expression', 'SQL_Type')\nFROM table_name;\n<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-extract-the-price-information-from-the-xml-data\">Extract the Price information from the XML data<\/h2>\n\n\n\n<p>Let&#8217;s use now <strong>the value() method to retrieve the price of the product<\/strong> for the sale with <em>SalesID = 1:<\/em><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">SELECT ProductDetails.value('(\/Product\/Price\/text())[1]', 'FLOAT') as ProductPrice\nFROM Sales\nWHERE SalesID = 1;\n<\/pre>\n\n\n\n<p>This query will return the price as a float value, extracted from the <em>ProductDetails<\/em> XML column. The output will be <code>800<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-advanced-use-case-with-conditional-xml-data-extraction\">Advanced use case with conditional XML data extraction<\/h2>\n\n\n\n<p>The value() method can also be used in more complex scenarios. For example, you can conditionally extract values based on certain criteria, like the T-SQL code below. In this query, if the stock is greater than 100, the price will be returned; otherwise, 0 will be returned.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">SELECT ProductDetails.value('if (\/Product\/Stock > 100) then (\/Product\/Price\/text())[1] else 0', 'FLOAT') as ProductPrice\nFROM Sales\nWHERE SalesID = 1;\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-conclusion-on-the-t-sql-xml-value-method\">Conclusion on the T-SQL XML value method <\/h3>\n\n\n\n<p>The XML value method provides a highly efficient and flexible way to extract and convert single elements or attributes from an XML column in SQL Server. This makes it a key tool for database administrators and developers dealing with XML data, like after <strong><a href=\"https:\/\/expert-only.com\/en\/ssis\/import-xml-file-into-a-table-with-ssis\/\">importing XML documents into SQL Server<\/a>.<\/strong> As you build and maintain databases that incorporate both structured and semi-structured data, mastering XML methods like <code>value()<\/code> becomes increasingly crucial.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>When it comes to working with XML data in SQL Server, the value() method offers unparalleled utility for extracting single data elements. This powerful T-SQL feature lets you convert the extracted XML data into SQL Server data types, making <a class=\"mh-excerpt-more\" href=\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\" title=\"How To Use The XML value() Method in SQL Server?\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":10734,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[454],"tags":[],"class_list":{"0":"post-27268","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-t-sql"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Use The XML value() Method in SQL Server? T-SQL<\/title>\n<meta name=\"description\" content=\"Use the XML value method in SQL Server to extract and convert single elements from your data into SQL Server data types with T-SQL code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Use The XML value() Method in SQL Server?\" \/>\n<meta property=\"og:description\" content=\"Use the XML value method in SQL Server to extract and convert single elements from your data into SQL Server data types with T-SQL code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and IT Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-24T03:45:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-03T16:50:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Expert-Only\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@expert_only\" \/>\n<meta name=\"twitter:site\" content=\"@expert_only\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expert-Only\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\"},\"author\":{\"name\":\"Expert-Only\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\"},\"headline\":\"How To Use The XML value() Method in SQL Server?\",\"datePublished\":\"2023-07-24T03:45:00+00:00\",\"dateModified\":\"2023-10-03T16:50:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\"},\"wordCount\":454,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg\",\"articleSection\":[\"T-SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\",\"url\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\",\"name\":\"How To Use The XML value() Method in SQL Server? T-SQL\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg\",\"datePublished\":\"2023-07-24T03:45:00+00:00\",\"dateModified\":\"2023-10-03T16:50:30+00:00\",\"description\":\"Use the XML value method in SQL Server to extract and convert single elements from your data into SQL Server data types with T-SQL code.\",\"breadcrumb\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"en\",\"item\":\"https:\/\/expert-only.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Use The XML value() Method in SQL Server?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/expert-only.com\/en\/#website\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"name\":\"SQL and IT Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/expert-only.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/expert-only.com\/en\/#organization\",\"name\":\"Expert-Only\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"width\":381,\"height\":174,\"caption\":\"Expert-Only\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\",\"https:\/\/x.com\/expert_only\",\"https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\",\"name\":\"Expert-Only\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"caption\":\"Expert-Only\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Use The XML value() Method in SQL Server? T-SQL","description":"Use the XML value method in SQL Server to extract and convert single elements from your data into SQL Server data types with T-SQL code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/","og_locale":"en_US","og_type":"article","og_title":"How To Use The XML value() Method in SQL Server?","og_description":"Use the XML value method in SQL Server to extract and convert single elements from your data into SQL Server data types with T-SQL code.","og_url":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/","og_site_name":"SQL and IT Tutorials","article_publisher":"https:\/\/www.facebook.com\/ExpertOnlyCom\/","article_published_time":"2023-07-24T03:45:00+00:00","article_modified_time":"2023-10-03T16:50:30+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg","type":"image\/jpeg"}],"author":"Expert-Only","twitter_card":"summary_large_image","twitter_creator":"@expert_only","twitter_site":"@expert_only","twitter_misc":{"Written by":"Expert-Only","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#article","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/"},"author":{"name":"Expert-Only","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef"},"headline":"How To Use The XML value() Method in SQL Server?","datePublished":"2023-07-24T03:45:00+00:00","dateModified":"2023-10-03T16:50:30+00:00","mainEntityOfPage":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/"},"wordCount":454,"commentCount":0,"publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"image":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg","articleSection":["T-SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/","url":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/","name":"How To Use The XML value() Method in SQL Server? T-SQL","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage"},"image":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg","datePublished":"2023-07-24T03:45:00+00:00","dateModified":"2023-10-03T16:50:30+00:00","description":"Use the XML value method in SQL Server to extract and convert single elements from your data into SQL Server data types with T-SQL code.","breadcrumb":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#primaryimage","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/light-bulb-B4BACF3D6C0_1920x1080.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/expert-only.com\/en\/t-sql\/xml-value-method-sql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"en","item":"https:\/\/expert-only.com\/en\/"},{"@type":"ListItem","position":2,"name":"How To Use The XML value() Method in SQL Server?"}]},{"@type":"WebSite","@id":"https:\/\/expert-only.com\/en\/#website","url":"https:\/\/expert-only.com\/en\/","name":"SQL and IT Tutorials","description":"","publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expert-only.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/expert-only.com\/en\/#organization","name":"Expert-Only","url":"https:\/\/expert-only.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","width":381,"height":174,"caption":"Expert-Only"},"image":{"@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ExpertOnlyCom\/","https:\/\/x.com\/expert_only","https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA"]},{"@type":"Person","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef","name":"Expert-Only","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","caption":"Expert-Only"}}]}},"_links":{"self":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/27268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/comments?post=27268"}],"version-history":[{"count":27,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/27268\/revisions"}],"predecessor-version":[{"id":27295,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/27268\/revisions\/27295"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media\/10734"}],"wp:attachment":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media?parent=27268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/categories?post=27268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/tags?post=27268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}