Subject: [xsl] removing a specific namespace declaration From: tom a <tasmito@xxxxxxxxx> Date: Sat, 7 Nov 2009 16:42:41 -0800 (PST) |
I'm trying to remove what I believe to be an unused namespace declaration from the output. eg: Source: <?xml version="1.0" encoding="ISO-8859-1"?> <svg viewBox="0 0 360 792" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:foo="http://www.foo.com"> <!-- svg content --> </svg> Becomes: <?xml version="1.0" encoding="ISO-8859-1"?> <svg viewBox="0 0 360 792" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- svg content --> </svg> ie, the foo namespace is removed in the transformation. I've seen many posts on removing all namespaces, but can't figure out how to remove a specific namespace. Any thoughts are greatly appreciated.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] fo:basic-link, J.Pietschmann | Thread | Re: [xsl] removing a specific names, G. Ken Holman |
RE: [xsl] is there a way to output , Michael Kay | Date | Re: [xsl] removing a specific names, G. Ken Holman |
Month |