Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSL Extentions?

From: Matt <matthewpomar@-----.--->
To: NULL
Date: 5/15/2007 5:53:00 AM

On May 15, 6:56 am, Martin Honnen <mahotr...@yahoo.de> wrote:
> Matt wrote:
> > I have developed a program that allows a user to generate a customized
> > HTML listing of search results of nearby locations (restaurants for
> > example) using XSL templates. I've implemented this using ASP.Net.
>
> > I'd like to create an extension (I think that what it is) that allows
> > me to do something like this:
>
> > <custom:map-link target="_blank">Map This Location</custom:map-link>
>
> > This would result in the appropriate HTML to create a link to map the
> > current location (the current location is the location in the context
> > of the XML document) like so:
>
> > <a href="http://www.mapsite.com?
> > address=123+Main&City=Dallas&ZipCode=75114" target="_blank">Map This
> > Location</a>
>
> > I haven't seen many examples of how to do this on the web. Pehaps I'm
> > searching for the wrong keywords. I don't know if XSL can do this or
> > if it is an extension to the parser, in which case it would be the XSL/
> > XML parser in .Net.
>
> I don't think the XSLT processors (XslTransform for .NET 1.x,
> XslCompiledTransform for .NET 2.0 and later) in .NET support extension
> elements so putting <custom:map-link target="_blank">Map This
> Location</custom:map-link> as an extension element into an XSLT
> stylesheet and process it is not possible.
> What the XSLT processors supports are extension functions implemented in
> C# or VB.NET or JScript.NET and extension objects. For the above it
> might suffice to have a global stylesheet parameter and have the ASP.NET
> page set that parameter as needed.
>
> --
>
>         Martin Honnen --- MVP XML
>        http://JavaScript.FAQTs.com/


Martin,

Thanks for the info. Would you mind sending me a link to anything that
might give me more information about this? Or even if you could send
me a .net class name, that would help me get started. I can't find
anything that seams to eleborate on what you are referring to.

Thanks,
 - Matt



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