Jump to content

kam

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kam

  • Rank
    Newbie
  1. It is offline, I dont connect to the web at all, so I cannot use Ajax.function Button1_EventClick() { This = Button1;EditBox1.Text ="Done";var oShell = new ActiveXObject("Shell.Application");var commandtoRun = "perl.bat";// Invoke the execute method.oShell.ShellExecute(commandtoRun, "", "", "open", "1"); This is the code I am using.this perl.bat contains command to run perlscript.I have arguments to be passed to the perlscript also.
  2. Hi All,I am using Altova Authentic, there i should create a macro, for executing perl script.I created a form, in the onclick event.I want to execute the perlscript with parameters that are got dynamically from textbaxes in the form.Is it possible?As of now I am using ShellExecute API and calling a .bat file containing the perl script. But I am not able to pass parameters dynamically.Can anybody help me with this.Thank You in advance
  3. Thank You.I think the problem is with the processor I am using.I am not using Altova xmlspy, instead Authentic, which is creating this problem
  4. I am providing the code as below.SOurce <ApplicationDescMetaSchema xsi:noNamespaceSchemaLocation="applicationdescmetaschema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ApplicationDescriptions> <SimpleApplicationDescription> <SimpleApplicationDesc> <Acronym>BU</Acronym> <Attribute> <Name>as</Name> </Attribute> </SimpleApplicationDesc> </SimpleApplicationDescription> </ApplicationDescriptions><ApplicationDescriptions> <Attribute> <Attributes> <TypeName>asd</TypeName> <TypeFile>asas</TypeFile> </Attributes> </Attribute> </ApplicationDescriptions></ApplicationDescMetaSchema> xslt <xsl:stylesheet version="2.0" xmlns="urn:alcatel:upp-adl:2005-06" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ifc="http://3gpp/gup/ns/dataelement/IFC" xmlns:ct="http://3gpp/gup/ns/common/common-types" xmlns:amt="http://3gpp/gup/ns/common/application-model-types"><xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" name="xml"/> <xsl:template match="/"> <xsl:element name="ApplicationsDescription"> <xsl:element name="SimpleApplicationDescription"> <xsl:element name="Acronym"> <xsl:value-of select="/ApplicationDescMetaSchema/ApplicationDescriptions/SimpleApplicationDescription/SimpleApplicationDesc[Acronym=$acronym]/Acronym"/> </xsl:element> <xsl:if test="exists(/ApplicationDescMetaSchema/ApplicationDescriptions/SimpleApplicationDescription/SimpleApplicationDesc[Acronym=$acronym]/Attribute)"> <xsl:for-each select="/ApplicationDescMetaSchema/ApplicationDescriptions/SimpleApplicationDescription/SimpleApplicationDesc[Acronym=$acronym]/Attribute"> <xsl:variable name="attribute" select="Name"/> <xsl:element name="Attribute"> <xsl:element name="Type"> <xsl:element name="ct:Name"> <xsl:value-of select="/ApplicationDescMetaSchema/ApplicationDescriptions/Attribute/Attributes[Name=$attribute]/TypeName"/> </xsl:element> <xsl:element name="ct:File"> <xsl:value-of select="/ApplicationDescMetaSchema/ApplicationDescriptions/Attribute/Attributes[Name=$attribute]/TypeFile"/> </xsl:element> </xsl:element> </xsl:element> </xsl:for-each> </xsl:if> </xsl:element> </xsl:element></xsl:template></xsl:stylesheet> These are the code, can you tell me what can be done to remove that xmlns, because of this I am not able to use the xml generatedThank You
  5. Hi,I am using XSLT to transform one xml to another xml. During this for certain elements with name space an extra attribute xmlns="" is getting added. The final resulting xml<ct:Name xmlns="">asd</ct:Name> <ct:File xmlns="">asas</ct:File> How can this be removed. Can anybody help me with this?
  6. Hi All,I want to execute a perl module from XSLT. Is it possible.Can anybody help me out.Thank you in advance
  7. We have two schema say C_PrimaryInformation.xsd and C_SecondaryInformation.xsd. The namespaces for these files are defined as http://3gpp/ns/comp/C_PrimaryInformation and http://3gpp/ns/comp/C_SecondarInformation with prefixes as ns1 and ns2 respecively. We have an another schema file, C_Information.xsd, with the namespace http://3gpp/ns/comp/C_PrimaryInformation/C_Information with the namespace prefix as ns12. Component NameSpace_Prefix Target NameSpace ========= ================ ================ C_PrimaryInformation.xsd ns1 http://3gpp/ns/comp/C_PrimaryInformation C_SecondaryInformation.xsd ns2 http://3gpp/ns/comp/C_SecondarInformation C_BriefInformation.xsd ns12 http://3gpp/ns/comp/C_PrimaryInformation/C_Information Here C_PrimaryInformation.xsd and C_SecondaryInformation.xsd are two root components and C_BriefInformation.xsd is a sub-component. We need to define C_BriefInformation.xsd as a sub-component of these two root components. If I need to make C_BriefInformation.xsd as a sub-component of these two root components, then can the target namespace for this can be deifned as below. http://3gpp/ns/comp/C_PrimaryInformation/C_Information and http://3gpp/ns/comp/C_SecondaryInformation/C_Information Is it possible to design a schema like this?
  8. Ya... It is working fine Thanks a Lot
  9. Hi,I am using XSLT to transform one xml to another xml.It works fine for source XML without namespaces in its root tag.But for an XML with namespaces like this, the XSLT doesnt work.<MappingDefinitions xmlns="urn:al:up-mapping:2005-05" xmlns:dt="urn:al:dst-v2" xmlns:rules="urn:al:dst-v2" xmlns:tps="urn:al:upp-services-types:2005-05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:al:up-mapping:2005-05 ..\..\..\Generic\MappingDefinition\UP-Profile-Mapping-v50.xsd">Can anyone help me out
×
×
  • Create New...