|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How would I do this?
Hello everyone, I have the following problem. I am producing n error log which is XML so that it can be viewed in a browser. The problem of course is the end tag: <?xml version="1.0" encoding="UTF-8"> <!DOCTYPE ERRORS SYSTEM "errors.dtd"> <ERRORS> <ERROR id=1 severity="HIGH"> <APPLICATION>Mapper</APPLICATION> <ERRORTEXT>This is an error %s with the mapping from %s to %s.</ERRORTEXT> <VARIABLES> <VARIABLE type="string">converting the interest rate</VARIABLE> <VARIABLE type="string">System 1</VARIABLE> <VARIABLE type="string">System 2</VARIABLE> </VARIABLES> <ERRORMSG> <OLK_MESSAGE>... </OLK_MESSAGE> <ERRORMSG> </ERROR> <ERROR id=1 severity="HIGH"> <APPLICATION>Mapper</APPLICATION> <ERRORTEXT>This is an error %s with the mapping from %s to %s.</ERRORTEXT> <VARIABLES> <VARIABLE type="string">converting the interest rate</VARIABLE> <VARIABLE type="string">System 3</VARIABLE> <VARIABLE type="string">System 4</VARIABLE> </VARIABLES> <ERRORMSG> <OLK_MESSAGE>... </OLK_MESSAGE> <ERRORMSG> </ERROR> </ERRORS> What I would like to do is define a stub which then references the data: -- errorhead.xml -- <?xml version="1.0" encoding="UTF-8"> <!DOCTYPE ERRORS SYSTEM "errors.dtd"> <ERRORS> <XLINK "errors.xml"> </ERRORS> and then the data would grow in the errors.xml file. Can I do this and do I have the correct syntax? Must the XLINK reference a well-defined XML file or can it reference something like the errors.xml that I describe? Thanks, Henry Fieglein *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








