[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: how to add a namespace to the output xml
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 19 Oct 2006 17:29:52 +0100
Here is what I need it to look like:
> 
> <SummaryViewDataSet 
> xmlns="http://www.miltonstreet.com/SummaryViewDataSet.xsd">
> <!-- more stuff here, of course -->
> </SummaryViewDataSet>
> 
> How do I get the
> 'xmlns="http://www.miltonstreet.com/SummaryViewDataSet.xsd"' 
> added to the output xml?

You could write it in the stylesheet as:

<SummaryViewDataSet 
     xmlns="http://www.miltonstreet.com/SummaryViewDataSet.xsd">
     <!-- more stuff here, of course -->
</SummaryViewDataSet>

Michael Kay
http://www.saxonica.com/

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member