|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re:Re: How to copy xml which attributes are proce
Hi Sun-fu,
> -- output --
>
> <list ClientID="aaa" EntityID="xxxx" FacilityID="A001"
> xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" <===these part of
> output I would like to get rid of.
> xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" which are from the
> namespace prefixes.
> xmlns:rs="urn:schemas-microsoft-com:rowset"
> xmlns:z="#RowsetSchema" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
> </list>
> <list>...
> </list>
>
> what I like to see a more clean output such as:
>
> <list ClientID="aaa" EntityID="xxxx" FacilityID="A001">
> </list>
> <list ClientID="bbbb" EntityID="yyyy" FacilityID="B001"
> </list>
just add the attribute
exclude-result-prefixes="s dt rs z msxsl"
to the xsl:stylesheet start tag:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
exclude-result-prefixes="s dt rs z msxsl">
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








