{"id":7654,"date":"2022-06-03T17:01:31","date_gmt":"2022-06-03T08:01:31","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=7654"},"modified":"2022-06-03T17:01:32","modified_gmt":"2022-06-03T08:01:32","slug":"node-%eb%b6%80%eb%b6%84-%ec%a0%84%ec%b2%b4-%eb%b3%b5%ec%82%ac-%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=7654","title":{"rendered":"node \ubd80\ubd84\/\uc804\uccb4 \ubcf5\uc0ac \ud558\uae30"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">1.@* {name()} \uc73c\ub85c attribute \ub9cc \uac00\uc838\uc624\uae30<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" >  &lt;xsl:template match=\"\/\/*[local-name()='Solution']\"&gt;\n\t &lt;xsl:element name=\"{name()}\"&gt;\n\t\t&lt;xsl:for-each select=\"@*\"&gt;\n\t\t  &lt;xsl:attribute name=\"{name()}\"&gt;\n\t\t\t&lt;xsl:value-of select=\".\"\/&gt;\n\t\t  &lt;\/xsl:attribute&gt;\n\t\t&lt;\/xsl:for-each&gt;\n\t  \n      &lt;xsl:apply-templates select=\"*[local-name()='SegmentRef']\"\/&gt;\n\t  &lt;xsl:apply-templates select=\"*[local-name()='PricingInfo']\"\/&gt;\n\t  &lt;xsl:apply-templates select=\"*[local-name()='HostToken']\"\/&gt;\n\t  &lt;\/xsl:element&gt;\n  &lt;\/xsl:template&gt;\n\n\n\n &lt;!-- template Solution\/HostToken --&gt;\n  &lt;xsl:template match=\"*[local-name()='HostToken']\"&gt;\n        &lt;xsl:element name=\"{name()}\"&gt;\n\t\t&lt;xsl:for-each select=\"@*\"&gt;\n\t\t  &lt;xsl:attribute name=\"{name()}\"&gt;\n\t\t\t&lt;xsl:value-of select=\".\"\/&gt;\n\t\t  &lt;\/xsl:attribute&gt;\n\t\t&lt;\/xsl:for-each&gt;\n\t\t&lt;xsl:value-of select=\".\"\/&gt;\n\t  &lt;\/xsl:element&gt;\n  &lt;\/xsl:template&gt;<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. Copy-of \ub85c Node \uc804\uccb4 \uac00\uaca8\uc624\uae30 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" >  &lt;xsl:template match=\"*[local-name()='PricingInfo']\"&gt;\n        &lt;xsl:element name=\"{name()}\"&gt;\n\t\t&lt;xsl:attribute name=\"PricingInfoGroup\"&gt;&lt;xsl:value-of select=\"position()\"\/&gt;&lt;\/xsl:attribute&gt;\n\t\t&lt;xsl:for-each select=\"@*\"&gt;\n\t\t  &lt;xsl:attribute name=\"{name()}\"&gt;\n\t\t\t&lt;xsl:value-of select=\".\"\/&gt;\n\t\t  &lt;\/xsl:attribute&gt;\n\t\t&lt;\/xsl:for-each&gt;\n\t\t\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='FareInfo']\"\/&gt;\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='BookingInfo']\"\/&gt;\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='TaxInfo']\"\/&gt;\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='FareCalc']\"\/&gt;\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='PassengerType']\"\/&gt;\n\t\t\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='ChangePenalty']\"\/&gt;\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='CancelPenalty']\"\/&gt;\n\t\t\n\t\t&lt;air:AirPricingModifiers FaresIndicator=\"AllFares\"\/&gt;\n\t\t\n\t\t&lt;xsl:apply-templates select=\"*[local-name()='BaggageAllowances']\"\/&gt;\n\t\t\n\t  &lt;\/xsl:element&gt;\n  &lt;\/xsl:template&gt;\n  \n    &lt;xsl:template match=\"*[local-name()='ChangePenalty']\"&gt;\n      &lt;xsl:copy-of select=\".\"\/&gt;\n    &lt;\/xsl:template&gt;\n\t\n\t&lt;xsl:template match=\"*[local-name()='CancelPenalty']\"&gt;\n      &lt;xsl:copy-of select=\".\"\/&gt;\n    &lt;\/xsl:template&gt;\n  \n    &lt;xsl:template match=\"*[local-name()='BaggageAllowances']\"&gt;\n      &lt;xsl:copy-of select=\".\"\/&gt;\n    &lt;\/xsl:template&gt;<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>1.@* {name()} \uc73c\ub85c attribute \ub9cc \uac00\uc838\uc624\uae30 2. Copy-of \ub85c Node \uc804\uccb4 \uac00\uaca8\uc624\uae30<\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[60],"tags":[],"class_list":["post-7654","post","type-post","status-publish","format-standard","hentry","category-xsl"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7654"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7654\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}