Skip to content

hyouteki/cxmlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C XML (eXtensible Markup Language) Parser

Setup

git clone https://github.com/hyouteki/cxmlp.git
cd cxmlp/
git submodule update --remote --merge

Test

gcc test.c -o test
./test
<row id="main">
  <column id="sidebar" background="black">
    <image id="logo" src="./resources/logo.png"/> 
    <button id="button1" text="Menu Button 1"/>
    <button id="button2" text="Menu Button 2"/>
    <label id="menu label" text="Sample Label with word wrap"/>
  </column>
  <column id="canvas" background="dark brown">
    <button
        id="button-fixed"
        text="Fixed button inside canvas"
        fixed="true"/>
    <button id="button-canvas" text="Button inside canvas"/>
    <label id="lorem" style="heading" text="Lorem Ipsum"/>
    <label id="lorem-text" lorem="true"/>
  </column>
</row>

Dependency