XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Agustin EspinosaSubject: Mapper - XSL Creating SQL Server Updategram
Author: Agustin Espinosa
Date: 06 Dec 2006 10:42 AM
Hi,

The Problem: I am using the mapper to generate an UpdateGram using Identities (MSSQL Server), the XML needs to contain the following attribute (updg:at-identity) this is required to establish identity relationships on the database.

Using the mapper I have set a Text Value to this attribute i.e.
updg:at-identity="cid", when trying to run the preview I get the following.

Error: The prefix 'updg' has not been mapped to any URI.

Example of The Goal:
<Customer updg:at-identity="cid" Name="TestName"/>

I have reviewed the Sytlus Options and removed the ':' word delimiter, hoping this will solve the problem; unfortunatelly still getting the same error, Please Help, any ideas are very much appreciated.
Regards
Agustin

Postnext
Ivan PedruzziSubject: Mapper - XSL Creating SQL Server Updategram
Author: Ivan Pedruzzi
Date: 06 Dec 2006 09:42 PM
Agustin,

You forgot to declare the namespace. Add the following declaration to the element xsl:stylesheet

xmlns:updg="urn:schemas-microsoft-com:xml-updategram"


Ivan Pedruzzi
Stylus Studio Team
http://www.stylusstudio.com/xml_download.html

Posttop
Agustin EspinosaSubject: Mapper - XSL Creating SQL Server Updategram
Author: Agustin Espinosa
Date: 07 Dec 2006 01:21 PM
Ivan, Many Thanks again; you're a Lifesaver.
Rgds

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.