<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML extension: how to make it work? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237449#M4963</link>
    <description>Read this first, maybe it helps:&lt;BR /&gt;
&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-gdl-xml-add-on" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/tips-and-tric ... xml-add-on"&gt;http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-gdl-xml-add-on&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
    <pubDate>Sun, 15 Oct 2017 21:17:19 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2017-10-15T21:17:19Z</dc:date>
    <item>
      <title>XML extension: how to make it work?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237448#M4962</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
I'm experiencing with the xml extension, but even cannot start it.&lt;BR /&gt;
&lt;BR /&gt;
What's the problem with the following code (being in the Parameter script)?&lt;BR /&gt;

&lt;PRE&gt;channelTest = OPEN ("XML", "Teszt", "wl")

OUTPUT (channelTest, "CreateDocument", "", "Teszt")

CLOSE channelTest &lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 15 Oct 2017 10:17:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237448#M4962</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2017-10-15T10:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: XML extension: how to make it work?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237449#M4963</link>
      <description>Read this first, maybe it helps:&lt;BR /&gt;
&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-gdl-xml-add-on" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/tips-and-tric ... xml-add-on"&gt;http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-gdl-xml-add-on&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Sun, 15 Oct 2017 21:17:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237449#M4963</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2017-10-15T21:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: XML extension: how to make it work?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237450#M4964</link>
      <description>Thanks for Your help, not too much. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
It describes reading a (prepared) read-only doc. My problem is with creating a new xml by the OUTPUT command.&lt;BR /&gt;
&lt;BR /&gt;
Such a poor documentation.</description>
      <pubDate>Wed, 18 Oct 2017 21:26:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237450#M4964</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2017-10-18T21:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: XML extension: how to make it work?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237451#M4965</link>
      <description>I haven't try, but I think the Script should be in the Master and OUTPUT has to be without brakes, like 
&lt;PRE&gt;OUTPUT channel, "CreateDocument", 0 , 	"Par_Set"&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Oct 2017 08:10:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237451#M4965</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2017-10-19T08:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: XML extension: how to make it work?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237452#M4966</link>
      <description>Indeed.&lt;BR /&gt;
&lt;BR /&gt;
This works:&lt;BR /&gt;

&lt;PRE&gt;ChannelTest = OPEN("XML", varFileNameWithFullPath , "wf")

OUTPUT ChannelTest, "CreateDocument", var1, "Teszt"
input (ChannelTest, "NewPositionDesc", "", varDesc)

OUTPUT ChannelTest, "NewElement AsFirstChild", varDesc, "Coord"
input (ChannelTest, "MoveToNode ToFirstChild", varDesc, var0, var1, var2)
OUTPUT ChannelTest, "NewText AsFirstChild", varDesc, GLOB_INTGUID

OUTPUT ChannelTest, "NewElement AsFirstChild", varDesc, "X"
input (ChannelTest, "MoveToNode ToFirstChild", varDesc, var0, var1, var2)
OUTPUT ChannelTest, "NewText AsFirstChild", varDesc, str (SYMB_POS_X, 8, 3)

OUTPUT ChannelTest, "NewElement AsNextSibling", varDesc, "Y" 
input (ChannelTest, "MoveToNode FromNextSibling", varDesc, var0, var1, var2)
OUTPUT ChannelTest, "NewText AsFirstChild", varDesc, str (SYMB_POS_Y, 8, 3)

CLOSE ChannelTest&lt;/PRE&gt;

But in the GDL Reference guide OUTPUT stands with brackets, I've checked.&lt;BR /&gt;
Many thanks.</description>
      <pubDate>Sun, 22 Oct 2017 16:26:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/XML-extension-how-to-make-it-work/m-p/237452#M4966</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2017-10-22T16:26:03Z</dc:date>
    </item>
  </channel>
</rss>

