{"id":182,"date":"2021-12-10T16:11:23","date_gmt":"2021-12-10T07:11:23","guid":{"rendered":"https:\/\/xslt.auctionpro.co.kr\/?page_id=182"},"modified":"2026-07-15T10:29:29","modified_gmt":"2026-07-15T01:29:29","slug":"normalize-space","status":"publish","type":"page","link":"https:\/\/xslt.auctionpro.co.kr\/?page_id=182","title":{"rendered":"normalize-space"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Remark : normalize-space<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;xsl:value-of select=\"normalize-space(.)\" \/&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>normalize-space()<\/code>\ub294 XSLT\/XPath\uc5d0\uc11c <strong>\ubb38\uc790\uc5f4\uc758 \uc55e\ub4a4 \uacf5\ubc31\uc744 \uc81c\uac70\ud558\uace0, \uc911\uac04\uc758 \uc5f0\uc18d\ub41c \uacf5\ubc31\uc744 \ud558\ub098\uc758 \uacf5\ubc31\uc73c\ub85c \ubcc0\ud658<\/strong>\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uae30\ubcf8 \ubb38\ubc95<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>normalize-space(\ubb38\uc790\uc5f4)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ub610\ub294 \ud604\uc7ac \ub178\ub4dc\uc5d0 \ub300\ud574<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>normalize-space()<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1. \uc55e\ub4a4 \uacf5\ubc31 \uc81c\uac70<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">XML<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;Name&gt;   John Smith   &lt;\/Name&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">XSLT<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;xsl:value-of select=\"normalize-space(Name)\"\/&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uacb0\uacfc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>John Smith<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2. \uc5f0\uc18d\ub41c \uacf5\ubc31\uc744 \ud558\ub098\ub85c \ubcc0\uacbd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">XML<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;Name&gt;John     Smith      Kim&lt;\/Name&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">XSLT<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;xsl:value-of select=\"normalize-space(Name)\"\/&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uacb0\uacfc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>John Smith Kim<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3. \uac12\uc774 \uc788\ub294\uc9c0 \ud655\uc778 (\uac00\uc7a5 \ub9ce\uc774 \uc0ac\uc6a9)<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;xsl:if test=\"normalize-space(Destination) != ''\"&gt;\n    ...\n&lt;\/xsl:if&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\ub2e4\uc74c\uacfc \uac19\uc740 \uacbd\uc6b0 \ubaa8\ub450 <strong>false<\/strong>\uc785\ub2c8\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;Destination&gt;&lt;\/Destination&gt;\n\n&lt;Destination&gt;      &lt;\/Destination&gt;\n\n&lt;Destination&gt;\n    \n    \n&lt;\/Destination&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uc989 \uacf5\ubc31\ub9cc \uc788\uc5b4\ub3c4 \ube48 \ubb38\uc790\uc5f4\ub85c \ucde8\uae09\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">4. \uc694\uc18c\uac00 \uc874\uc7ac\ud558\ub294\uc9c0\ub9cc \ud655\uc778<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;xsl:if test=\"Destination\"&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774 \uacbd\uc6b0\ub294<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;Destination&gt;&lt;\/Destination&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\ucc98\ub7fc \ub0b4\uc6a9\uc774 \uc5c6\uc5b4\ub3c4 <strong>true<\/strong>\uc785\ub2c8\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ub530\ub77c\uc11c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Destination<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uacfc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>normalize-space(Destination)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc740 \uc758\ubbf8\uac00 \ub2e4\ub985\ub2c8\ub2e4.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">5. \uc18d\uc131\uc5d0\ub3c4 \uc0ac\uc6a9 \uac00\ub2a5<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;Destination CityNameEng=\" Seoul \"\/&gt;\n\n&lt;xsl:value-of select=\"normalize-space(Destination\/@CityNameEng)\"\/&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uacb0\uacfc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Seoul<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">6. \ub450 \uac12\uc774 \ubaa8\ub450 \uc788\uc744 \ub54c\ub9cc &#8220;\/&#8221; \ucd9c\ub825<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \" >\n&lt;xsl:if test=\"normalize-space(Destination\/@CityNameEng) != '' and normalize-space(Destination) != ''\"&gt;\n \n    &lt;xsl:value-of select=\"normalize-space(Destination\/@CityNameEng)\"\/&gt; \/ &lt;xsl:value-of select=\"normalize-space(Destination)\"\/&gt;\n\n&lt;\/xsl:if&gt;\n\n<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\uacb0\uacfc<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\ub458 \ub2e4 \uc788\uc744 \ub54c<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Seoul\/\uc11c\uc6b8<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\uc601\ubb38\ub9cc \uc788\uc744 \ub54c<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Seoul<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\ud55c\uae00\ub9cc \uc788\uc744 \ub54c<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\uc11c\uc6b8<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\ub458 \ub2e4 \uc5c6\uc744 \ub54c<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\uc544\ubb34\uac83\ub3c4 \ucd9c\ub825\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\uc2e4\ubb34\uc5d0\uc11c \uac00\uc7a5 \ub9ce\uc774 \uc0ac\uc6a9\ud558\ub294 \ud328\ud134<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;!-- \uac12\uc774 \uc788\ub294\uc9c0 \ud655\uc778 --&gt;\nnormalize-space(Node) != ''\n\n&lt;!-- \uc18d\uc131 \uac12 \ud655\uc778 --&gt;\nnormalize-space(@Attr) != ''\n\n&lt;!-- \ucd9c\ub825 \uc2dc \uacf5\ubc31 \uc81c\uac70 --&gt;\n&lt;xsl:value-of select=\"normalize-space(Node)\"\/&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remark : normalize-space normalize-space()\ub294 XSLT\/XPath\uc5d0\uc11c \ubb38\uc790\uc5f4\uc758 \uc55e\ub4a4 \uacf5\ubc31\uc744 \uc81c\uac70\ud558\uace0, \uc911\uac04\uc758 \uc5f0\uc18d\ub41c \uacf5\ubc31\uc744 \ud558\ub098\uc758 \uacf5\ubc31\uc73c\ub85c \ubcc0\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \uae30\ubcf8 \ubb38\ubc95 \ub610\ub294 \ud604\uc7ac \ub178\ub4dc\uc5d0 \ub300\ud574 1. \uc55e\ub4a4 \uacf5\ubc31 \uc81c\uac70 XML XSLT \uacb0\uacfc 2. \uc5f0\uc18d\ub41c \uacf5\ubc31\uc744 \ud558\ub098\ub85c \ubcc0\uacbd XML XSLT \uacb0\uacfc 3. \uac12\uc774 \uc788\ub294\uc9c0 \ud655\uc778 (\uac00\uc7a5 \ub9ce\uc774 \uc0ac\uc6a9) \ub2e4\uc74c\uacfc \uac19\uc740 \uacbd\uc6b0 \ubaa8\ub450 false\uc785\ub2c8\ub2e4. \uc989 \uacf5\ubc31\ub9cc \uc788\uc5b4\ub3c4 \ube48 \ubb38\uc790\uc5f4\ub85c \ucde8\uae09\ud569\ub2c8\ub2e4. &hellip;<br \/><a href=\"https:\/\/xslt.auctionpro.co.kr\/?page_id=182\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\"><span class=\"screen-reader-text\">normalize-space<\/span> \ub354\ubcf4\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-182","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182"}],"version-history":[{"count":4,"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/182\/revisions"}],"predecessor-version":[{"id":459,"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/182\/revisions\/459"}],"wp:attachment":[{"href":"https:\/\/xslt.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}