dcsimg
How to split one xml file into two xml files?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rajesh_Thakare
Posted On:   Wednesday, November 29, 2006 09:06 AM

ENTITY REFERENCES Hello, I want to slipt my xml file in two files. suppose I have xml file <?xml encoding=”UTF-16” standalone="yes"?> 2000 Elliotte Rusty Harold elharo@metalab.unc.edu July 30, 2000 now I want to slipt it in two files. I read it one of book following way <?xml encoding=”UTF-16” standalone="no"?> <!ELEMENT DOCUMENT (TITLE, COPYRIGHT, EM   More>>
ENTITY REFERENCES

Hello,

I want to slipt my xml file in two files.

suppose I have xml file


<?xml encoding=”UTF-16” standalone="yes"?>











2000 Elliotte Rusty Harold



elharo@metalab.unc.edu


July 30, 2000

















now I want to slipt it in two files.

I read it one of book following way




















<?xml encoding=”UTF-16” standalone="no"?>








<!ELEMENT DOCUMENT



(TITLE, COPYRIGHT, EMAIL, LAST_MODIFIED, HR?)>



<!ELEMENT TITLE (#PCDATA)>



<!ELEMENT COPYRIGHT (#PCDATA)>



<!ELEMENT EMAIL (#PCDATA)>



<!ELEMENT HR EMPTY>



<!ELEMENT LAST_MODIFIED (#PCDATA)>



<!ENTITY SIG SYSTEM “signature.xml”>
]>













Entity references



&SIG;























<?xml encoding=”UTF-16”?>



2000 Elliotte Rusty Harold



elharo@metalab.unc.edu



July 30, 2000








The above example is done with DTD. Now if my xml file has schema, how do I do split xml file in two file?

I am new to this. please help me.

Regards

Rajesh    <<Less

Re: How to split one xml file into two xml files?

Posted By:   Roseanne_Zhang  
Posted On:   Thursday, December 7, 2006 11:03 AM

I think DTD or Schema are for parser to validate your XML, not for actively doing anything, not for splitting your files.


Correct me if I am wrong. Thanks!

About | Sitemap | Contact