Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML and Viewlink component

From: "Oleg Tkachenko [MVP]" <oleg@--_!----!_------!---------.--->
To: NULL
Date: 8/5/2004 11:56:00 PM
Ilya Volodin wrote:

> I'm trying to transform XML document into HTML using XSLT. But one of the
> tags should be transformed into viewlink tag. XSL doesn't allow me to insert
> <HTML xmlns:viewlink> instead of regular <HTML> tag into output. How can I
> go around it?

<HTML xmlns:viewlink> isn't well-formed XML so you can't express it in 
XSLT. What about <HTML xmlns:viewlink="dummy">?

>    <VIEWLINK:bars>        <--- If I use just <HTML> error in this line:
> Desc - "Reference to undeclared namespace prefix: 'VIEWLINK'. Error
> processing resource".

In XML foo:bar name means namespace qualified name, where bar is local 
name and foo is namespace prefix, which must be declared.

-- 
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent