PHP Classes

File: nav.php

Recommend this page to a friend!
  Classes of khalid al-kary  >  Kxparse  >  nav.php  >  Download  
File: nav.php
Role: Auxiliary script
Content type: text/plain
Description: Navigation that comes with the documentation
Class: Kxparse
A very light XML parser!
Author: By
Last change:
Date: 15 years ago
Size: 355 bytes


Class file image Download
//including khalid xml parser
include_once "kxparse.php";

//create the object
$xmlnav=new kxparse("nav.xml");

for (
<div class="navit"><a href="<?php echo $xmlnav->get_attribute("nav:item","1:".$i,"href") ?>"><?php echo $xmlnav->get_tag_text("nav:item","1:".$i) ?></a></div>