xsl-list
[Top] [All Lists]

RE: [xsl] how to add a namespace to the output xml

2006-10-19 09:30:14
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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--