The PSA forms are xml based. In this circumstance, the XML namespace is defined with a prefix <PAGE xmlns:A4="http://www.account4.com/a4namespace" version="5.0"> This means that you can invoke the A4 prefix to access elements defined within the DTD. However, the document also contains a CDATA tag. CDATA is character data, is in fact ignored ay xml parsers; e.g. if you place your javascript within CDATA, and the psa javascripts are found within CDATA. However.... within the CDATA tag the A4 prefix is referenced: <![CDATA[ A4:INCLUDE-A4PSEINCMAINMENU. ]] Now the strange. CDATA in fact ignores entity definitions, so how can the A4 prefix be recognized; in fact A4 prefixes are invoked quite a bit within the CDATA tag? If I am dong a mod, do I place the text I want to see within CDATA, or in the XML I want parsed? Robert.
|