| DESCRIPTION OF ENHANCEMENTS |
This patch releases a XML parser that was commissioned by the VA architects.
^TMP($J,3) = <BOOK>
==========
Want KIDS to INHIBIT LOGONs during the install? YES// NO
No Options or Protocols need to be placed out-of-order.
Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO
==
=========================================================================
^TMP($J,4) = <TITLE>Design Patterns</TITLE>
^TMP($J,5) = <AUTHOR>Gamma</AUTHOR>
^TMP($J,6) = <AUTHOR>Helm</AUTHOR>
^TMP($J,7) = <AUTHOR>Johnson</AUTHOR>
^TMP($J,8) = <AUTHOR>Vlissides</AUTHOR>
^TMP($J,9) = </BOOK>
Invoke the SAX interface:
D EN^MXMLTEST($NA(^TMP($J)),"V")
Developer documentation can be found on the VistA Documentation Library
. . . See what happens.
Check the DOM interface:
>S HDL=$$EN^MXMLDOM($NA(^TMP($J)))
>W $$NAME^MXMLDOM(HDL,1) <<Write the name of the first node
BOOK
>S CHD=$$CHILD^MXMLDOM(HDL,1) <<Get the child of the node
>W $$NAME^MXMLDOM(HDL,CHD) <<Write the child name
under Infrastructure in the Kernel ToolKit session.
TITLE
W $$TEXT^MXMLDOM(HDL,CHD,$NA(VV)) <<Get the text of the child
>ZW VV
VV(1)=Design Patterns
List all the sibling nodes
>S CHD=$$CHILD^MXMLDOM(HDL,1)
>S SIB=CHD
Here is the URL: http://vista.domain.ext/vdl/#App12
>F S SIB=$$SIBLING^MXMLDOM(HDL,SIB) Q:SIB'>0 W !,SIB,?4,$$NAME^MXMLDOM(HDL,SIB)
3 AUTHOR
4 AUTHOR
5 AUTHOR
6 AUTHOR
>
Some notes, Defined values are case sensitive, In the first line, <?xml must
be in lowercase.
Lines can only be broken at whitespace.
Here is a URL for more data from Microsoft and their XML notepad:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/xmlpadrun.asp
Routine Summary
The following routines are included in this patch. The second line of each
of these routines now looks like:
;;7.3;TOOLKIT;<patchlist>;Apr 25, 1995
Checksum
Sample Use:
Routine Old New 2nd Line
MXMLDOM n/a 2273946 **58**
MXMLPRS0 n/a 7296844 **58**
MXMLPRS1 n/a 4193331 **58**
MXMLPRSE n/a 7947708 **58**
MXMLTEST n/a 1892022 **58**
Sites should use CHECK^XTSUMBLD to verify checksums.
=========================================================================
Create a XML file:
Installation:
>>>Users may remain on the system.
>>>TaskMan does *not* need to be stopped.
1. DSM sites - These are new routines.
2. Use the 'INSTALL/CHECK MESSAGE' option on the PackMan menu. This
option will load the KIDS package onto your system.
^TMP($J,1) = <?xml version='1.0'?>
3. The patch has now been loaded into a Transport global on your
system. You now need to use KIDS to install the Transport global.
On the KIDS menu, under the 'Installation' menu, use the following
options:
Verify Checksums in Transport Global
Print Transport Global
Compare Transport Global to Current System
Backup a Transport Global
^TMP($J,2) = <!DOCTYPE BOOK>
4. Users can remain on the system. This patch can be loaded any
time.
This patch can be queued and installed at any time.
This patch can be queued for install at non-peak hours.
TaskMan can remain running.
5. On the KIDS menu, under the 'Installation' menu, use the following
option:
Install Package(s) 'XT*7.3*58'
|