flowertang
Programmer
When I add this instruction "Document.addContent(ProcessingInstruction)" to the xml, it will add "<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>" to the end of document, like this:
<--------------------------------------------------------->
<?xml version="1.0" encoding="BIG5"?>
<Records>
<Field>1</Field>
</Records>
<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>
<=--------------------------------------------------------->
So when i execute this xml, it only display the content of xml without with with xsl? How can I add "<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>" back to the beginning of the xml
<?xml version="1.0" encoding="BIG5"?>
<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>
<Records>
<Field>1</Field>
</Records>
Thanks a lot~~~
<--------------------------------------------------------->
<?xml version="1.0" encoding="BIG5"?>
<Records>
<Field>1</Field>
</Records>
<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>
<=--------------------------------------------------------->
So when i execute this xml, it only display the content of xml without with with xsl? How can I add "<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>" back to the beginning of the xml
<?xml version="1.0" encoding="BIG5"?>
<?xml-stylesheet type="text/xsl" href="C:\temp.xsl"?>
<Records>
<Field>1</Field>
</Records>
Thanks a lot~~~