Documentation automatically generated from the source-code using phpDocumentor.
Official Homepage: xao-php.sourceforge.net
XAO
Official homepage | API home | class tree: XAO | index: XAO | all elements

Class: DomXsl

Source Location: Program_Root/XAO_DomXsl.php

Class DomXsl

Class Overview

XSL Stylesheet as a DomDoc object

WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING DO NOT ATTEMPT TO USE THIS CLASS. IT IS A WORK IN PROGRESS. IT IS VAPOURWARE. IT PROBABLY HAS NOT EVEN BEEN THROUGH THE INTERPRETER/PARSER YET. IT WILL NOT WORK. THE DESIGN WILL CHANGE. THERE'S STILL MUCH WORK TO BE DONE. LEAVE IT. This class inherits from DomDoc. It is used to create and manipulate stylesheets programatically.

Located in Program_Root/XAO_DomXsl.php [line 39]

XaoRoot
   |
   --DomDoc
      |
      --DomXsl
Author(s):
  • Terence Kearns
Information Tags:
Link:  http://xao-php.sourceforge.net
License:  LGPL
Copyright:  Terence Kearns 2003
Version:  0.2

Properties

Methods

[ Top ]
Inherited Properties and Methods
Inherited Properties Inherited Methods

Inherited From DomDoc

DomDoc::$ndErr
DomDoc::$ndRoot
DomDoc::$objDoc
DomDoc::$objErr

Inherited From XaoRoot

XaoRoot::$arrCacheParams
XaoRoot::$fncErrCallbackFunc
XaoRoot::$idXaoNamespace
XaoRoot::$strDebugData
XaoRoot::$strError
XaoRoot::$strXaoNamespacePrefix

Inherited From DomDoc

DomDoc::DomDoc()
Constructor method
DomDoc::Arr2Atts()
Turn an associative array into attributes
DomDoc::arrNdXPath()
Return a list of nodes resulting from an XPath Query
DomDoc::blnTestElementNode()
Test if the supplied node is on object of type "domelement"
DomDoc::blnTestXmlName()
Do a reliable test for a valid element name
DomDoc::CommitToFile()
mass storage serialisation
DomDoc::ConsumeDocData()
Import well-balenced XML data to append below $this->ndRoot
DomDoc::ndAppendToNode()
quickly add a new element under an exising element node.
DomDoc::ndAppendToRoot()
quickly add a new element under the root element.
DomDoc::ndConsumeDoc()
Import a foreign PHP DOM XML document and append it below $this->ndRoot
DomDoc::ndConsumeFile()
Import an XML document from a file and append it below $this->ndRoot
DomDoc::ndConsumeFragData()
Import well-balenced XML data to append below $this->ndRoot
DomDoc::ndGetOneEl()
fetch a single element node by name
DomDoc::ndImportChildFrag()
Import a fragment from a foreign PHP DOM XML document
DomDoc::ProcessCustomTags()
Process all nodes (domelements) due for processing.
DomDoc::SetCustomTagName()
Have all elements of a specified name processed by a call-back function.
DomDoc::SetCustomTagQuery()
Use an XPath to nominate nodes for processing by a call-back function.
DomDoc::Throw()
Base error logger
DomDoc::xmlGetDoc()
Serialise and return the entire document object as stand-alone XML.
DomDoc::xmlGetFrag()
Serialise and return the entire document as an XML fragment.

Inherited From XaoRoot

XaoRoot::arrSetErrFnc()
XaoRoot::blnTestSafeName()
XaoRoot::Throw()
Generic/default error handler.

[ Top ]
Property Summary
bool   $blnValid   Whether or not the stylesheet is valid.
mixed   $idXslNs  
mixed   $strPrefix  

[ Top ]
Method Summary
DomXsl   DomXsl()  
void   blnValidate()  
void   &ndMkTpl()  

[ Top ]
Properties
bool   $blnValid = true [line 55]

Whether or not the stylesheet is valid.

This is set using $this->blnValidate which is only run in the constructor and only when an existing stylesheet is passed to the constructor. Otherwise, it is assumed to be true since the alternative is that we initialised a valid stylesheet in the constructor. This variable is checked for trueness every time a utility function is called. If the function finds that this var is not set to true, then it will do nothing and return false.

API Tags:
Access:  public


[ Top ]
mixed   $idXslNs = "http://www.w3.org/1999/XSL/Transform" [line 57]

[ Top ]
mixed   $strPrefix = "xsl:" [line 59]

[ Top ]
Methods
Constructor DomXsl  [line 61]

  DomXsl DomXsl( [mixed $uriExternal = null]  )



[ Top ]
blnValidate  [line 107]

  void blnValidate( )



[ Top ]
ndMkTpl  [line 91]

  void &ndMkTpl( mixed $arrAtts  )



[ Top ]

Documentation generated on Tue, 23 Sep 2003 18:34:01 +1000 by phpDocumentor 1.2.2