I am trying to generate an XML file that has 2 processing instructions at
the beginning of it
before the root:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="c:\abc.xslt">
I tried:
Document doc = new Document();
ProcessingInstruction pi = doc.createProcessingInstruction
("xml-stylesheet", "type=text/xsl href=c:\abc.xslt">
doc.appendChild(pi);
Unfortunately I get errors using this method and several other ways that I
tried. Can you suggest a solution?
Thanks.
Sally Nemes
EMMS Subsystem Development, IBM Software Group
Internet Mail: [EMAIL PROTECTED]
T/L 975-2872, External (561) 862-2872
IMAD 4181
8051 Congress Avenue
Boca Raton, Florida 33487
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]