Empire Burlesque</tit" /> <meta property="og:title" content="XSLT format-date for an attribute on java,xml,xslt,formatdatetime" /> <meta property="og:type" content="article" /> <meta property="article:tag" name="article:tag" content="java" /> <meta property="article:tag" name="article:tag" content="xml" /> <meta property="article:tag" name="article:tag" content="xslt" /> <meta property="article:tag" name="article:tag" content="formatdatetime" /> <meta property="og:url" content="https://devhide.com/xslt-format-date-for-an-attribute-41189368" /> <meta property="og:description" content="<?xml version="1.0" encoding="UTF-8"?> <catalog> <cd created_at="2016-12-15T15:02:55Z"> <title created_at="2016-12-15T15:02:55Z">Empire Burlesque</tit" /> <meta property="og:site_name" content="Devhide" /> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://devhide.com/img/img_default.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:url" content="https://devhide.com/xslt-format-date-for-an-attribute-41189368" /> <meta name="twitter:domain" content="TechQA.club" /> <meta name="twitter:title" content="XSLT format-date for an attribute on java,xml,xslt,formatdatetime" /> <meta name="twitter:description" property="og:description" itemprop="description" content="<?xml version="1.0" encoding="UTF-8"?> <catalog> <cd created_at="2016-12-15T15:02:55Z"> <title created_at="2016-12-15T15:02:55Z">Empire Burlesque</tit"/> <meta property="article:published_time" content="2016-12-16T17:17:37.967000" /> <meta property="article:published_time" name="article:published_time" content="2016-12-16T17:17:37.967000" /> <meta property="article:modified_time" content="2025-12-21T20:48:59.975000" /> <meta property="article:modified_time" name="article:modified_time" content="2025-12-21T20:48:59.975000" /> <meta property="article:author:username" name="article:author:username" content="gaukhar" /> <meta property="og:site_name" name="og:site_name" content="Devhide" /> <meta property="og:locale" name="og:locale" content="en_US" /> <meta name="revisit-after" content="1"> <meta name="webcrawlers" content="all"> <meta name="spiders" content="all"> <meta name='language' content='en'/> <meta name='geo.placename' content='United States'/> <meta name='robots' content='index, follow'/> <meta name='Googlebot-Image' content='follow, all'/> <meta name='rating' content='general'/> <meta name='audience' content='all'/> <link rel='dns-prefetch' href='//code.jquery.com' /> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/github.css"> <link rel="canonical" href="https://devhide.com/xslt-format-date-for-an-attribute-41189368" > <link rel="alternate" href="https://techqa.club" hreflang="en"/> <link rel="shortcut icon" href="https://devhide.com/img/favicon.png " type="image/x-icon"> <link rel='dns-prefetch' href='//ajax.googleapis.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//code.jquery.com' /> <link rel='dns-prefetch' href='//forgottenoverlive.com' /> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" media="all" href="https://devhide.com/css/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/app.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/line-awesome.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/selectize.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/style.css"> <link href="/opensearch" rel="search" title="TechQA" type="application/opensearchdescription+xml"> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2199440138602787" crossorigin="anonymous"></script> </head> <body> <header class="header-area bg-white border-bottom border-bottom-gray"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-2"> <div class="logo-box"> <a href="/" class="navbar-brand">DEVHIDE</a> <div class="user-action"> <div class="search-menu-toggle icon-element icon-element-xs shadow-sm me-1" data-bs-toggle="tooltip" data-placement="top" aria-label="Search" data-bs-original-title="Search"> <i class="la la-search"></i> </div> <div class="off-canvas-menu-toggle icon-element icon-element-xs shadow-sm" data-bs-toggle="tooltip" data-placement="top" aria-label="Main menu" data-bs-original-title="Main menu"> <i class="la la-bars"></i> </div> </div> </div> </div><!-- end col-lg-2 --> <div class="col-lg-10"> <div class="menu-wrapper border-left border-left-gray ps-4 justify-content-end"> <nav class="menu-bar me-auto"> <ul> <li> <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> </li> <li class="is-mega-menu"> <a class="nav-link" href="https://devhide.com/pages/about-us">About</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/contact-us">Contact</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/cookie-policy">Cookie</a> </li> </ul><!-- end ul --> </nav><!-- end main-menu --> <form class="me-4" action="https://devhide.com/search" method="POST"> <div class="form-group mb-0"> <input type="hidden" name="_token" value="CK6Yyxru3c16ZL2UEsetXBPo1W5OCQVnEcndLTaf" autocomplete="off"> <input aria-label="Search" type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control form--control form--control-bg-gray" autocomplete="off"> <button class="form-btn" type="button" aria-label='search'><i class="la la-search"></i></button> </div> </form> </div><!-- end menu-wrapper --> </div><!-- end col-lg-10 --> </div><!-- end row --> </div><!-- end container --> <div class="off-canvas-menu custom-scrollbar-styled"> <div class="off-canvas-menu-close icon-element icon-element-sm shadow-sm" data-bs-toggle="tooltip" data-placement="left" data-bs-original-title="Close menu" role=''> <i class="la la-times"></i> </div><!-- end off-canvas-menu-close --> <ul class="generic-list-item off-canvas-menu-list pt-90px"> <li> <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> </li> <li class="is-mega-menu"> <a class="nav-link" href="https://devhide.com/pages/about-us">About</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/contact-us">Contact</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/cookie-policy">Cookie</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/disclaimer">Disclaimer</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/privacy-policy">Privacy</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/terms-and-conditions">TOS</a> </li> </ul> <div class="off-canvas-btn-box px-4 pt-5 text-center"> <a href="#" class="btn theme-btn theme-btn-sm theme-btn-outline" data-bs-toggle="modal" data-bs-target="#loginModal"><i class="la la-sign-in me-1"></i> Login</a> <span class="fs-15 fw-medium d-inline-block mx-2">Or</span> <a href="#" class="btn theme-btn theme-btn-sm" data-bs-toggle="modal" data-bs-target="#signUpModal"><i class="la la-plus me-1"></i> Sign up</a> </div> </div><!-- end off-canvas-menu --> <div class="mobile-search-form"> <div class="d-flex align-items-center"> <form class="me-4" action="https://devhide.com/search" method="POST"> <div class="form-group mb-0"> <input type="hidden" name="_token" value="CK6Yyxru3c16ZL2UEsetXBPo1W5OCQVnEcndLTaf" autocomplete="off"> <input aria-label="Search" type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control form--control form--control-bg-gray" autocomplete="off"> <button class="form-btn" type="button" aria-label='search'><i class="la la-search"></i></button> </div> </form> </div> </div><!-- end mobile-search-form --> <div class="body-overlay"></div> </header> <section role="main" class="main-content py-4"> <div class="container"> <div class="row"> <div class="col-md-8" itemscope="itemscope" itemtype="http://schema.org/QAPage"> <div class="setra my-2"> <script> atOptions = { 'key' : 'fb6fa8ce7d93be929489d8b65dee2ba5', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; </script> <script src="https://forgottenoverlive.com/fb6fa8ce7d93be929489d8b65dee2ba5/invoke.js"></script> </div> <div class="wrapperLayout" itemprop="mainEntity" itemscope="" itemtype="http://schema.org/Question"> <link itemprop="image" href="https://devhide.com/img/logo-default.png"> <div class="box question"> <div class="box-header with-border"> <h1 itemprop="name"> <a href="" title="XSLT format-date for an attribute" title="XSLT format-date for an attribute"> XSLT format-date for an attribute </a> </h1> <span class="text-muted text-date"> <span title="1382 views">1.3k Views</span> Asked by <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="name"> <strong>gaukhar</strong> </span> </span> At <time datetime="2016-12-16T17:17:37.967000" itemprop="datePublished" title="2016-12-16T17:17:37.967000"> 16 December 2016 at 17:17 </time> <time class="d-none" itemprop="dateModified" > 2025-12-21T20:48:59.975000 </time> </span> </div> <div class="box-body"> <div itemprop="text" class="post-text"> <pre><code><?xml version="1.0" encoding="UTF-8"?> <catalog> <cd created_at="2016-12-15T15:02:55Z"> <title created_at="2016-12-15T15:02:55Z">Empire Burlesque</title> <artist created_at="2016-12-15T15:02:55Z">Bob Dylan</artist> <cover created_at="2016-12-15T15:02:55Z"/> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> </code></pre> <p></p> <p>I want to format all occurrences of created_at attribute</p> <pre><code>input format YYYY-MM-DDTHH:MM:SSZ output format YYYY-MM-DD HH:MM:SS </code></pre> <p>I am currently using this following xslt</p> <pre><code><?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template> <!-- Edit dates to conform to dbunit format--> <xsl:template match="@created_at"> <xsl:copy> <xsl:call-template name="formatdate"> <xsl:with-param name="datestr" select="@created_at"/> </xsl:call-template> </xsl:copy> </xsl:template> <xsl:template name="formatdate"> <xsl:param name="datestr" /> <!-- input format YYYY-MM-DDTHH:MM:SSZ --> <!-- output format YYYY-MM-DD HH:MM:SS --> <xsl:variable name="datetext"> <xsl:value-of select="substring-before($datestr,'T')" /> </xsl:variable> <xsl:variable name="timetext"> <xsl:value-of select="substring($datestr,12,18)" /> </xsl:variable> <xsl:value-of select="concat($datetext, ' ', $timetext)" /> </xsl:template> </xsl:stylesheet> </code></pre> <p>However as I debug through the transformation xslt it does not seem to enter the formatdate call-template. Is my xpath wrong? I found articles on modifying the node, but not the attribute. Any help would be much appreciated.</p> <p>Thank you</p> </div> <div class="tagcloud"> <a href="https://devhide.com/hashtag/java"> <span>java</span> </a> <a href="https://devhide.com/hashtag/xml"> <span>xml</span> </a> <a href="https://devhide.com/hashtag/xslt"> <span>xslt</span> </a> <a href="https://devhide.com/hashtag/formatdatetime"> <span>formatdatetime</span> </a> </div> </div> <div class="box-footer"> <span class="source"> <a href="https://stackoverflow.com/questions/41189368/xslt-format-date-for-an-attribute" target="_blank" rel="nofollow"> Original Q&A </a> </span> </div> </div> <!-- ads here --> <div class="counter-header my-3"> <span class="d-none" itemprop="answerCount">3</span> <h2>There are <strong>3</strong> best solutions below</h2> </div> <div class="box answerQuestion"> <div id="wajab" class="box"> <div class="box mb-5"> <div class="post answerId-669fddb9a06677a8f26d2a7f" id="answer-669fddb9a06677a8f26d2a7f" class="box" data-answerid="669fddb9a06677a8f26d2a7f" itemprop="suggestedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <a class="d-none" itemprop="url" href="#answer-669fddb9a06677a8f26d2a7f"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="0">0</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="Alexander Petrov" > <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>Alexander Petrov</strong> </span> </span> <span title="2016-12-16T17:37:32.110000" class="dater d-none d-md-inline-block"> On <time itemprop="datePublished" title="2016-12-16T17:37:32.110000" datetime="2016-12-16T17:37:32.110000"> 16 December 2016 at 17:37 </time> </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p>Try this</p> <pre><code><xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:output method='xml' indent='yes'/> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template> <!-- Edit dates to conform to dbunit format--> <xsl:template match="@created_at"> <xsl:call-template name="formatdate"> <xsl:with-param name="datestr" select="."/> </xsl:call-template> </xsl:template> <xsl:template name="formatdate"> <xsl:param name="datestr" /> <!-- input format YYYY-MM-DDTHH:MM:SSZ --> <!-- output format YYYY-MM-DD HH:MM:SS --> <xsl:variable name="datetext"> <xsl:value-of select="substring-before($datestr,'T')" /> </xsl:variable> <xsl:variable name="timetext"> <xsl:value-of select="substring($datestr,12,8)" /> </xsl:variable> <xsl:attribute name="created_at"> <xsl:value-of select="concat($datetext, ' ', $timetext)" /> </xsl:attribute> </xsl:template> </xsl:stylesheet> </code></pre> </div> </div> </div> </div> <div class="post answerId-669fddb9a06677a8f26d2a7f" id="answer-669fddb9a06677a8f26d2a7f" class="box" data-answerid="669fddb9a06677a8f26d2a7f" itemprop="suggestedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <a class="d-none" itemprop="url" href="#answer-669fddb9a06677a8f26d2a7f"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="0">0</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="michael.hor257k" > <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>michael.hor257k</strong> </span> </span> <span title="2016-12-16T18:05:16.490000" class="dater d-none d-md-inline-block"> On <time itemprop="datePublished" title="2016-12-16T18:05:16.490000" datetime="2016-12-16T18:05:16.490000"> 16 December 2016 at 18:05 </time> </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p>Why not simply:</p> <pre><code><xsl:template match="@created_at"> <xsl:attribute name="created_at"> <xsl:value-of select="substring(translate(., 'T', ' '), 1, 19)" /> </xsl:attribute> </xsl:template> </code></pre> <hr> <p>Note: you cannot use <code>xsl:copy</code> if you want to change an attribute's value.</p> </div> </div> </div> </div> <div class="post answerId-669fddb9a06677a8f26d2a7f" id="answer-669fddb9a06677a8f26d2a7f" class="box" data-answerid="669fddb9a06677a8f26d2a7f" itemprop="suggestedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <a class="d-none" itemprop="url" href="#answer-669fddb9a06677a8f26d2a7f"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="5">5</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="Eiríkr Útlendi" > <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>Eiríkr Útlendi</strong> </span> </span> <span title="2016-12-16T18:12:11.630000" class="dater d-none d-md-inline-block"> On <time itemprop="datePublished" title="2016-12-16T18:12:11.630000" datetime="2016-12-16T18:12:11.630000"> 16 December 2016 at 18:12 </time> </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p>From your post, it sounds like all you need is simple string processing.</p> <h3>Why your code isn't working the way you want</h3> <p>You're handling the <code>@created_at</code> attributes with this template:</p> <pre class="lang-xml prettyprint-override"><code><xsl:template match="@created_at"> <xsl:copy> <xsl:call-template name="formatdate"> <xsl:with-param name="datestr" select="@created_at"/> </xsl:call-template> </xsl:copy> </xsl:template> </code></pre> <p>The kicker here is that you're using <code><xsl:copy></code>. When used with attributes, <code><xsl:copy></code> copies the entire attribute, name and value both. And since attributes can't contain any children, the children of your <code><xsl:copy></code> instruction are ignored -- so the XSLT processor never evaluates the <code><xsl:call-template name="formatdate"></code> instruction.</p> <h3>A different approach that works</h3> <p>Instead of using <code><xsl:copy></code>, you need to instead use <code><xsl:attribute></code> to create an attribute in a way where you can also specify the value. In this case, you already know the name of the attribute you want to create, so you could hard-code the name value as <code>created_at</code>. For a more flexible approach, you could instead give the name value as <code>{name(.)}</code> -- this just grabs the name of the attribute being processed, which is closer in behavior to what you probably thought <code><xsl:copy></code> would do. :)</p> <p>It is also possible to produce the desired string in a single <code>xsl:value-of</code> expression, without relying on so many variables.</p> <pre class="lang-xml prettyprint-override"><code><xsl:template match="@created_at"> <xsl:attribute name="{name(.)}"> <xsl:value-of select="concat(substring-before(., 'T'), ' ', substring-before(substring-after(., 'T'), 'Z'))"/> </xsl:attribute> </xsl:template> </code></pre> <p>Breaking down that <code>select</code> statement:</p> <ul> <li>Use <code>concat()</code> to stitch together multiple bits of string.</li> <li>Use <code>substring-before(., 'T')</code> to grab everything before the <code>T</code> -- that's the date portion.</li> <li><code>' '</code> adds the single space in the middle.</li> <li><code>substring-before(substring-after(., 'T'), 'Z')</code> -- <ul> <li>The inner expression <code>substring-after(., 'T')</code> grabs everything after the <code>T</code> -- that's the time portion.</li> <li>However, there's that pesky <code>Z</code> on the end, so we use <code>substring-before</code> as the outer expression to lop that off.</li> </ul></li> </ul> <p>No need for variables, and it gets the job done. Confirmed to work with XSLT 1.0.</p> </div> </div> </div> </div> </div> </div> </div> </div> <!-- ads here --> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>JAVA</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://devhide.com/i-need-the-birt-war-that-is-compatible-with-java-17-and-tomcat-10-78253124'> I need the BIRT.war that is compatible with Java 17 and Tomcat 10 </a> </li> <li> <a href='https://devhide.com/creating-global-class-holder-78253111'> Creating global Class holder </a> </li> <li> <a href='https://devhide.com/no-method-found-for-class-java-lang-string-in-kafka-78253100'> No method found for class java.lang.String in Kafka </a> </li> <li> <a href='https://devhide.com/issue-edit-a-jtable-with-a-pictures-78253099'> Issue edit a jtable with a pictures </a> </li> <li> <a href='https://devhide.com/getting-error-when-trying-to-launch-kotlin-jar-file-that-use-supabase-java-lang-noclassdeffounderror-78253063'> getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError" </a> </li> <li> <a href='https://devhide.com/does-the-logical-and-operator-have-a-higher-precedence-than-logical-or-operator-in-java-78253054'> Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java? </a> </li> <li> <a href='https://devhide.com/mixed-color-rendering-in-a-jtable-78253053'> Mixed color rendering in a JTable </a> </li> <li> <a href='https://devhide.com/https-configuration-in-spring-boot-server-returning-timeout-78253043'> HTTPS configuration in Spring Boot, server returning timeout </a> </li> <li> <a href='https://devhide.com/how-to-use-layout-to-create-textfields-which-dont-increase-in-size-78252955'> How to use Layout to create textfields which dont increase in size? </a> </li> <li> <a href='https://devhide.com/function-for-making-the-code-wait-in-javafx-78252948'> Function for making the code wait in javafx </a> </li> <li> <a href='https://devhide.com/how-to-create-beans-of-the-same-class-for-multiple-template-parameters-in-spring-78252857'> How to create beans of the same class for multiple template parameters in Spring </a> </li> <li> <a href='https://devhide.com/how-could-you-print-a-specific-string-from-an-array-with-the-values-of-an-array-from-a-double-array-on-the-same-line-using-iteration-to-print-all-78252843'> How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all? </a> </li> <li> <a href='https://devhide.com/org-telegram-telegrambots-meta-exceptions-telegramapiexception-bot-token-and-username-can-t-be-empty-78252827'> org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty </a> </li> <li> <a href='https://devhide.com/accessing-secret-variables-in-classic-pipelines-through-java-app-in-azure-devops-78252790'> Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps </a> </li> <li> <a href='https://devhide.com/postgres-statement-error-in-mybatis-mapper-78252756'> Postgres && statement Error in Mybatis Mapper? </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>XML</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://devhide.com/postgres-statement-error-in-mybatis-mapper-78252756'> Postgres && statement Error in Mybatis Mapper? </a> </li> <li> <a href='https://devhide.com/sorting-items-after-building-an-xml-feed-78252559'> Sorting items after building an XML feed? </a> </li> <li> <a href='https://devhide.com/c-xml-modelbinding-asp-net-core-8-web-api-required-field-not-found-78252500'> C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found </a> </li> <li> <a href='https://devhide.com/how-can-i-create-an-automatic-table-of-contents-in-docx-without-the-text-being-bold-78251927'> How can I create an automatic table of contents in docx without the text being bold? </a> </li> <li> <a href='https://devhide.com/odoo-16-make-fields-readonly-using-xpath-78251324'> Odoo 16 Make Fields Readonly Using XPath </a> </li> <li> <a href='https://devhide.com/using-similar-tags-for-different-objects-in-xml-78250690'> Using similar tags for different objects in XML </a> </li> <li> <a href='https://devhide.com/android-studio-problem-like-gradle-sync-project-failed-and-plugin-error-version-2023-2-1-iguana-78250262'> Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana </a> </li> <li> <a href='https://devhide.com/error-cannot-find-symbol-view-root-inflater-inflate-r-layout-toolbar-parent-false-78248124'> error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false); </a> </li> <li> <a href='https://devhide.com/android-camera-application-restriction-to-12-mp-78245854'> Android camera application restriction to 12 mp </a> </li> <li> <a href='https://devhide.com/azure-data-factory-copy-activity-only-importing-first-row-of-xml-file-78245541'> Azure Data Factory Copy Activity Only Importing First Row of XML file </a> </li> <li> <a href='https://devhide.com/i-am-not-able-to-remove-space-below-the-navigation-view-icon-in-android-studio-what-s-wrong-with-code-78244413'> I am not able to remove space below the navigation view icon in android studio. What;s wrong with code? </a> </li> <li> <a href='https://devhide.com/field-can-be-converted-to-a-local-variable-convert-field-to-local-variable-in-oncreate-method-78243884'> Field can be converted to a local variable ,convert field to local variable in onCreate method </a> </li> <li> <a href='https://devhide.com/deserialize-xml-with-optional-different-name-78243120'> Deserialize XML with optional different name </a> </li> <li> <a href='https://devhide.com/retrieve-tags-from-xml-using-python-78242981'> Retrieve tags from xml using python </a> </li> <li> <a href='https://devhide.com/getting-attribute-from-xml-and-printing-it-error-78240405'> Getting attribute from xml and printing it error </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>XSLT</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://devhide.com/sorting-items-after-building-an-xml-feed-78252559'> Sorting items after building an XML feed? </a> </li> <li> <a href='https://devhide.com/link-href-to-website-css-does-not-work-since-upgrading-to-windows-server-2019-78245396'> link href to website css does not work since upgrading to Windows Server 2019 </a> </li> <li> <a href='https://devhide.com/chaining-templates-in-xslt-2-0-78237994'> Chaining templates in XSLT 2.0 </a> </li> <li> <a href='https://devhide.com/xpath-how-to-exclude-text-from-child-node-78237516'> XPath - how to exclude text from child node </a> </li> <li> <a href='https://devhide.com/reuse-xslt-for-different-xml-inputs-using-parameters-in-nodejs-with-saxon-js-78236791'> Reuse XSLT for different XML inputs using parameters in nodeJS with saxon-js </a> </li> <li> <a href='https://devhide.com/how-to-iterate-xsl-and-get-nodes-78233526'> How to iterate XSL and get nodes </a> </li> <li> <a href='https://devhide.com/xslt-to-tun-flat-xml-structure-into-hierarchical-78225059'> XSLT to tun flat xml structure into hierarchical </a> </li> <li> <a href='https://devhide.com/transform-oxy-comments-into-xml-tag-78224962'> transform '?oxy_comments' into xml tag </a> </li> <li> <a href='https://devhide.com/xslt-transform-hierarchy-into-new-hierarchy-78223859'> xslt transform hierarchy into new hierarchy </a> </li> <li> <a href='https://devhide.com/convert-element-tags-to-key-value-pair-in-oic-map-78223585'> Convert element tags to key value pair in OIC map </a> </li> <li> <a href='https://devhide.com/converting-characters-in-xml-text-node-to-subscript-or-superscript-with-xslt-78221796'> Converting characters in XML text node to subscript or superscript with XSLT </a> </li> <li> <a href='https://devhide.com/saxon-he-12-4-fails-to-provide-the-error-location-in-errorreporter-78220689'> Saxon HE 12.4 Fails to provide the error location in ErrorReporter </a> </li> <li> <a href='https://devhide.com/how-can-i-use-net-sf-saxon-s9api-xslttransformer-in-multiple-threads-to-avoid-impacting-perfromance-and-throughput-78219286'> how can I use net.sf.saxon.s9api.XsltTransformer in multiple threads to avoid impacting perfromance and throughput? </a> </li> <li> <a href='https://devhide.com/issue-with-xsl-display-since-chrome-123-update-78218697'> Issue with XSL Display since Chrome 123 Update </a> </li> <li> <a href='https://devhide.com/xml-external-entity-injection-issue-isn-t-resolving-even-after-fortify-recommended-suggestion-78218280'> 'XML External Entity Injection' issue isn't resolving even after fortify recommended suggestion </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>FORMATDATETIME</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://devhide.com/php-symfony-backend-need-a-format-datetime-working-same-way-that-frontend-angular-dateformat-date-time-78188912'> PHP Symfony backend need a "format datetime" working same way that frontend Angular DateFormat.DATE_TIME </a> </li> <li> <a href='https://devhide.com/format-date-based-on-timezone-utc-offeset-77899409'> Format Date based on timezone/UTC offeset </a> </li> <li> <a href='https://devhide.com/power-automate-flow-to-update-the-sharepoint-list-from-excel-data-unable-to-run-a-flow-due-to-date-format-error-77797127'> Power automate flow to update the SharePoint list from excel data - Unable to run a flow due to date format error </a> </li> <li> <a href='https://devhide.com/problem-in-formatdate-function-in-utilities-in-google-script-77745490'> Problem in formatDate function in Utilities in Google Script </a> </li> <li> <a href='https://devhide.com/by-using-a-transloco-language-service-changing-the-month-abbreviations-in-the-angular-date-picker-77720995'> By using a transloco language service changing the month abbreviations in the angular date picker </a> </li> <li> <a href='https://devhide.com/how-to-convert-any-type-of-date-format-and-datetime-format-into-a-particular-date-format-using-big-query-77198939'> How to convert any type of date format and datetime format into a particular date format using Big Query? </a> </li> <li> <a href='https://devhide.com/ttimepicker-adds-a-1899-12-30-date-when-changed-77129928'> TTimePicker adds a 1899/12/30 date when changed </a> </li> <li> <a href='https://devhide.com/formatting-iso8601-date-time-into-number-field-76098719'> Formatting ISO8601 date/time into number field </a> </li> <li> <a href='https://devhide.com/format-date-and-time-from-an-outlook-email-into-excel-sheet-using-power-automate-75390754'> Format Date and Time from an outlook email into excel sheet using power automate </a> </li> <li> <a href='https://devhide.com/when-formatting-date-object-does-it-matter-that-the-t-and-the-000z-will-be-removed-when-storing-to-db-74602813'> When formatting date object - does it matter that the T and the 000Z will be removed when storing to db? </a> </li> <li> <a href='https://devhide.com/hot-to-retrieve-and-format-a-start-and-end-date-for-multiple-loa-on-one-person-74510456'> hot to retrieve and format a start and end date for multiple LOA on one person </a> </li> <li> <a href='https://devhide.com/how-to-format-date-in-jpql-74466698'> how to format date in JPQL? </a> </li> <li> <a href='https://devhide.com/moment-format-returns-different-values-in-backend-frontend-code-74254591'> Moment Format Returns different values in backend / frontend code </a> </li> <li> <a href='https://devhide.com/format-date-in-material-ui-table-react-js-72658536'> Format date in material ui table react js </a> </li> <li> <a href='https://devhide.com/get-timezone-offset-via-city-state-and-convert-iso-8601-utc-date-72079449'> Get Timezone/Offset via City State and convert ISO-8601 UTC Date </a> </li> </ul> </div> </div> <div class="col-lg-4"> <div class="sidebar"> <div class="widget"> <script> atOptions = { 'key' : '85d394e5b99acb52afb83e3dde49240e', 'format' : 'iframe', 'height' : 50, 'width' : 320, 'params' : {} }; </script> <script src="https://forgottenoverlive.com/85d394e5b99acb52afb83e3dde49240e/invoke.js"></script> </div> <div class="widget"> <div class="widget-title"> <h4>Trending Questions</h4> </div> <ul class="relatedPost"><li> <a href='https://devhide.com/uiimageview-frame-doesn-t-reflect-constraints-32240629'> UIImageView Frame Doesn't Reflect Constraints </a> </li> <li> <a href='https://devhide.com/is-it-possible-to-use-adb-commands-to-click-on-a-view-by-finding-its-id-39315028'> Is it possible to use adb commands to click on a view by finding its ID? </a> </li> <li> <a href='https://devhide.com/how-to-create-a-new-web-character-symbol-recognizable-by-html-javascript-11059803'> How to create a new web character symbol recognizable by html/javascript? </a> </li> <li> <a href='https://devhide.com/why-isn-t-my-css3-animation-smooth-in-google-chrome-but-very-smooth-on-other-browsers-37629745'> Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)? </a> </li> <li> <a href='https://devhide.com/heap-gives-page-fault-39109581'> Heap Gives Page Fault </a> </li> <li> <a href='https://devhide.com/connect-ffmpeg-to-visual-studio-2008-17218902'> Connect ffmpeg to Visual Studio 2008 </a> </li> <li> <a href='https://devhide.com/both-object-and-valueanimator-jumps-when-duration-is-set-above-api-lvl-24-46991118'> Both Object- and ValueAnimator jumps when Duration is set above API LvL 24 </a> </li> <li> <a href='https://devhide.com/how-to-avoid-default-initialization-of-objects-in-std-vector-78203063'> How to avoid default initialization of objects in std::vector? </a> </li> <li> <a href='https://devhide.com/second-argument-of-the-command-line-arguments-in-a-format-other-than-char-argv-or-char-argv-60047957'> second argument of the command line arguments in a format other than char** argv or char* argv[] </a> </li> <li> <a href='https://devhide.com/how-to-improve-efficiency-of-algorithm-which-generates-next-lexicographic-permutation-43290467'> How to improve efficiency of algorithm which generates next lexicographic permutation? </a> </li> <li> <a href='https://devhide.com/navigating-to-the-another-actvity-app-getting-crash-in-android-44773528'> Navigating to the another actvity app getting crash in android </a> </li> <li> <a href='https://devhide.com/how-to-read-the-particular-message-format-in-android-and-store-in-sqlite-database-23211116'> How to read the particular message format in android and store in sqlite database? </a> </li> <li> <a href='https://devhide.com/resetting-inventory-status-after-order-is-cancelled-39125469'> Resetting inventory status after order is cancelled </a> </li> <li> <a href='https://devhide.com/efficiently-compute-powers-of-x-in-sse-avx-67955549'> Efficiently compute powers of X in SSE/AVX </a> </li> <li> <a href='https://devhide.com/insert-into-an-external-database-using-ajax-and-php-post-500-internal-server-error-43365921'> Insert into an external database using ajax and php : POST 500 (Internal Server Error) </a> </li> </ul> </div> <div class="widget"> <script> atOptions = { 'key' : '3e775be7951fb9f096da4aa44dc12090', 'format' : 'iframe', 'height' : 300, 'width' : 160, 'params' : {} }; </script> <script src="https://forgottenoverlive.com/3e775be7951fb9f096da4aa44dc12090/invoke.js"></script> </div> <div class="widget"> <div class="widget-title"> <h4>Popular # Hahtags</h4> </div> <div class="tagcloud"><a href='https://devhide.com/hashtag/javascript' class="tag-link tag-link-md"> <span>javascript</span> </a> <a href='https://devhide.com/hashtag/python' class="tag-link tag-link-md"> <span>python</span> </a> <a href='https://devhide.com/hashtag/java' class="tag-link tag-link-md"> <span>java</span> </a> <a href='https://devhide.com/hashtag/c#' class="tag-link tag-link-md"> <span>c#</span> </a> <a href='https://devhide.com/hashtag/php' class="tag-link tag-link-md"> <span>php</span> </a> <a href='https://devhide.com/hashtag/android' class="tag-link tag-link-md"> <span>android</span> </a> <a href='https://devhide.com/hashtag/html' class="tag-link tag-link-md"> <span>html</span> </a> <a href='https://devhide.com/hashtag/jquery' class="tag-link tag-link-md"> <span>jquery</span> </a> <a href='https://devhide.com/hashtag/c++' class="tag-link tag-link-md"> <span>c++</span> </a> <a href='https://devhide.com/hashtag/css' class="tag-link tag-link-md"> <span>css</span> </a> <a href='https://devhide.com/hashtag/ios' class="tag-link tag-link-md"> <span>ios</span> </a> <a href='https://devhide.com/hashtag/sql' class="tag-link tag-link-md"> <span>sql</span> </a> <a href='https://devhide.com/hashtag/mysql' class="tag-link tag-link-md"> <span>mysql</span> </a> <a href='https://devhide.com/hashtag/r' class="tag-link tag-link-md"> <span>r</span> </a> <a href='https://devhide.com/hashtag/reactjs' class="tag-link tag-link-md"> <span>reactjs</span> </a> <a href='https://devhide.com/hashtag/node.js' class="tag-link tag-link-md"> <span>node.js</span> </a> <a href='https://devhide.com/hashtag/arrays' class="tag-link tag-link-md"> <span>arrays</span> </a> <a href='https://devhide.com/hashtag/c' class="tag-link tag-link-md"> <span>c</span> </a> <a href='https://devhide.com/hashtag/asp.net' class="tag-link tag-link-md"> <span>asp.net</span> </a> <a href='https://devhide.com/hashtag/json' class="tag-link tag-link-md"> <span>json</span> </a> </div> </div> <div class="widget"> <div class="widget-title"> <h4>Popular Questions</h4> </div> <ul class="popularPosts"><li> <a href='https://devhide.com/how-do-i-undo-the-most-recent-local-commits-in-git-927358'> How do I undo the most recent local commits in Git? </a> </li> <li> <a href='https://devhide.com/how-can-i-remove-a-specific-item-from-an-array-in-javascript-5767325'> How can I remove a specific item from an array in JavaScript? </a> </li> <li> <a href='https://devhide.com/how-do-i-delete-a-git-branch-locally-and-remotely-2003505'> How do I delete a Git branch locally and remotely? </a> </li> <li> <a href='https://devhide.com/find-all-files-containing-a-specific-text-string-on-linux-16956810'> Find all files containing a specific text (string) on Linux? </a> </li> <li> <a href='https://devhide.com/how-do-i-revert-a-git-repository-to-a-previous-commit-4114095'> How do I revert a Git repository to a previous commit? </a> </li> <li> <a href='https://devhide.com/how-do-i-create-an-html-button-that-acts-like-a-link-2906582'> How do I create an HTML button that acts like a link? </a> </li> <li> <a href='https://devhide.com/how-do-i-check-out-a-remote-git-branch-1783405'> How do I check out a remote Git branch? </a> </li> <li> <a href='https://devhide.com/how-do-i-force-git-pull-to-overwrite-local-files-1125968'> How do I force "git pull" to overwrite local files? </a> </li> <li> <a href='https://devhide.com/how-do-i-list-all-files-of-a-directory-3207219'> How do I list all files of a directory? </a> </li> <li> <a href='https://devhide.com/how-to-check-whether-a-string-contains-a-substring-in-javascript-1789945'> How to check whether a string contains a substring in JavaScript? </a> </li> <li> <a href='https://devhide.com/how-do-i-redirect-to-another-webpage-503093'> How do I redirect to another webpage? </a> </li> <li> <a href='https://devhide.com/how-can-i-iterate-over-rows-in-a-pandas-dataframe-16476924'> How can I iterate over rows in a Pandas DataFrame? </a> </li> <li> <a href='https://devhide.com/how-do-i-convert-a-string-to-an-int-in-java-5585779'> How do I convert a String to an int in Java? </a> </li> <li> <a href='https://devhide.com/does-python-have-a-string-contains-substring-method-3437059'> Does Python have a string 'contains' substring method? </a> </li> <li> <a href='https://devhide.com/how-do-i-check-if-a-string-contains-a-specific-word-4366730'> How do I check if a string contains a specific word? </a> </li> </ul> </div> <div class="widget"> <script> atOptions = { 'key' : '5572168bffcf77d6a9fd611324801b97', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} }; </script> <script src="https://forgottenoverlive.com/5572168bffcf77d6a9fd611324801b97/invoke.js"></script> </div> </div> </div> </div> </div> </section> <section class="footer-area pt-80px position-relative"> <span class="vertical-bar-shape vertical-bar-shape-1"></span> <span class="vertical-bar-shape vertical-bar-shape-2"></span> <span class="vertical-bar-shape vertical-bar-shape-3"></span> <span class="vertical-bar-shape vertical-bar-shape-4"></span> <hr class="border-top-gray my-4"> <div class="container"> <div class="row align-items-center pb-4 copyright-wrap"> <div class="col-lg-3"> <p class="copyright-desc copyright--desc fs-14">Copyright © 2021 <a href="https://jogjafile.com/">Jogjafile</a> Inc.</p> </div> <div class="col-lg-9"> <ul class="generic-list-item generic-list-item-hover-underline generic-list-item-inline text-end"> <li> <a class="nav-link" href="https://devhide.com/pages/disclaimer">Disclaimer</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/privacy-policy">Privacy</a> </li> <li> <a class="nav-link" href="https://devhide.com/pages/terms-and-conditions">TOS</a> </li> <li> <a class="nav-link" href="https://homegardensmart.com/">Homegardensmart</a> </li> <li> <a class="nav-link" href="https://pricesm.com/">Pricesm.com</a> </li> <li> <a class="nav-link" href="https://aftereffectstemplates.net/">Aftereffectstemplates</a> </li> </ul> </div><!-- end col-lg-6 --> </div><!-- end row --> </div><!-- end container --> </section> <div id="back-to-top" data-bs-toggle="tooltip" data-placement="top" style="" data-bs-original-title="Return to top" role=''> <i class="la la-arrow-up"></i> </div> <script src="https://devhide.com/js/jquery-3.4.1.min.js"></script> <script src="https://devhide.com/js/bootstrap.bundle.min.js"></script> <script src="https://devhide.com/js/selectize.min.js"></script> <script src="https://devhide.com/js/main.js"></script> <script src="https://devhide.com/js/hljs.js"></script> <script>hljs.initHighlightingOnLoad();</script> </body> </html>