xsl-list
[Top] [All Lists]

[xsl] Namespaces best practice in XML

2006-04-04 06:32:17
My XML Source has a default namespace and never uses prefixes. I am writing a stylesheet which transforms this into XHTML. In the XSLT I (ideally) never want to prefix any XHTML output elements or any source XML element references.

What would you advise my default namespace in the XSLT file should be?

Do I need to declare the XHTML namespace + my source XML's namespace?

I am looking for a best-practice / future proof method way to do this.

Thanks

Tom

_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search! http://join.msn.com/toolbar/overview


--~------------------------------------------------------------------
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>
--~--