1,599 Topics
|
|
I am running a batch file using msxsl to take an input xml file like below <ns1:invoicedata> <data1>1</data1> <data2>2</data2> </ns1:invoicedata> I need to copy this original output and replace the values with the input file values <ns2:invoiceoutput> <data3>3</data3> <data4>4</data4> <data5>5</data5> </ns2:invoiceoutput> so that it ends up with the following data … |
|
Hello. I'm working with a webpage where its going to a Google Store Locator. [URL="http://code.google.com/intl/no-NO/apis/maps/articles/phpsqlsearch.html"]Goolge Store Locator guide[/URL] I did follow. I got it working for a while, but here in Norway we have some characters, ÆØÅ that we use. This is the problem. When I search for a place, … |
|
[CODE]<employees> <employee> <user_id>6</user_id> <profile_name>Developer</profile_name> <profile_id>2</profile_id> <user_status>1</user_status> <gender>1</gender> <first_name>Anulesh</first_name> <last_name>Gupta</last_name> <address>106/B, 1st Floor, 46th Cross, 4th Block, Rajajinagar,</address> <pswd>password</pswd> <pswd_change_dte>2011-01-25T19:48:00+05:30</pswd_change_dte> <email_addr>anulesh.gupta@effone.com</email_addr> <phone>91-080-22445281</phone> <dob>1981-09-18T00:00:00+05:30</dob> <join_date>2008-11-20T00:00:00+05:30</join_date> <receive_email_notification>true</receive_email_notification> <last_logged_in>2011-01-25T19:48:00+05:30</last_logged_in> <emp_id>1001</emp_id> <full_name>Anulesh Gupta</full_name> <skill_set /> <city>Bangalore</city> <state>Karnataka</state> <country>India</country> <zip_code>560010</zip_code> <mobile_number>22445281</mobile_number> <pwd_flag>1</pwd_flag> <reports_to>5</reports_to> </employee> </employees>[/CODE] Convert this into this format , please help me out for … |
|
From help I received yesterday I have this code that will parse through an XML file generating an output from various nodes based on the relationships between them. Example XML [CODE] <gedcom> <INDI ID=@I001@> <FAMC>@F001@</FAMC> ... </INDI> <INDI ID=@I002@> <FAMC>@F002@</FAMC> ... </INDI> <INDI ID=@I003@> <FAMC>@F003@</FAMC> ... </INDI> ... <FAM ID=@F001@> … |
|
Hi there, I'm working on a project which incorporates the following: [LIST] [*]Reading data from XML [*]Writing data to XML [*]Interpreting XML and passing the information to various places [/LIST] These are on different threads, and I've used a Mutex to make sure they don't try opening the main XML … |
|
<xs:complexType name="Thing"> <xs:complexContent> <xs:extension base="ax:Object"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="Thing" nillable="true" type="ax:Item"/> <xs:element minOccurs="0" name="number" nillable="true" type="xs:double"/> </xs:extension> </xs:complexContent> </xs:complexType> This is the XSD structure |
|
how to create crystal report using xml files??? |
|
I have just downloaded William Hill poker software but when i run it there seems to be a lot of issues. My mouse arrow and loading icon vibrate so not able to navigate the site. When i click to exit the whole thing freezes. I troubleshoot and get message incompatible … |
|
I have XML data where information in nodes relate to other nodes. I am trying to figure out how to generate output based on these relationships. XML sample <gedcom> <indi id="@I001"> <famc>@F002@</famc> </indi> ... <fam id="@F002"> <husb>@I005@</husb> <wife>@I007@</wife> </fam> </gedcom> XSLT sample <xsl:template match="/"> <xsl:apply-templates select="/gedcom/indi[@id='@I001@']"/> </xsl:template> <xsl:template match="indi"> <xsl:value-of … |
|
Thanks to some great help for my first ever post on this formum [ [URL="http://http://www.daniweb.com/forums/thread346113.html"]Fetch a node based on a value of another node.[/URL]] I am now recursively traversing through my XML data where nodes are related to each other. Example XML [ICODE] <gedcom> <INDI ID="@I001@"> ... <FAMC>@F001@</FAMC> </INDI> <INDI … |
|
Hi, Can any one help me. Please Explain this code. [CODE] <div id="toolMenu"> <ul> <xsl:for-each select="categories/category"> <xsl:sort select="@order" data-type="number"/> <xsl:apply-templates select="."> <xsl:with-param name="content" select="'false'"/> </xsl:apply-templates> </xsl:for-each> <!-- Commented to Remove help --> <!--<xsl:if test="//tool/@hasHelp='true'"> <li> <a accesskey="h" href="javascript:;" class="icon-sakai-help"> <xsl:attribute name="onclick">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute> <xsl:attribute name="onkeypress">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute>Help</a> </li> </xsl:if>--> </ul> … |
|
The value i am getting in a tag is like <text>customers/id/name/place</text> now i want to retrieve the last value after the / that is 'place'.The problem i am facing is the value in text is changing for e.g it could be <text>customers/id/name/place</text> <text>suppliers/id/Germany/thing</text> <text>supply/id/location/book</text> what i want is the last … |
|
Hi peoples, Suppose I have an XML file [CODE] <Application> <Segment1> <ID>Sam</ID> <Fee>2.50</Fee> <Fee>1.00</Fee> </Segment1> </Application> [/CODE] In a nutshell, I want to move the two <Fee> Elements to another section so it looks like this; [CODE] <Application> <Segment1> <ID>Sam</ID> </Segment1> <Segment2> <Fee>2.50</Fee> <Fee>1.00</Fee> </Segment2> </Application> [/CODE] It would invlove … |
|
Hello, i´m beginer in XSL and i need help. In attachment, is source xml and my xsl. I have problem with filtering element date. Because, when i run transform result is duplicate. Can you help me? thx Stan |
|
Hi, I need to concatenate 3 strings to make URL dynamically. [CODE] <xsl:variable name="userurl"> <xsl:choose> <xsl:when test="currentUser/first != ''"> <xsl:value-of select="currentUser/first"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="currentUser/userid"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="url"> <xsl:value-of select="concat('http://localhost:8080/xsl-portal/site/~',$userurl,'/page/487d2e0a-ca50-440b-a8c2-e98a2cee632c')"/> </xsl:variable> <xsl:text>|</xsl:text> <a href="{$url}" target="_blank"> <xsl:text>Search</xsl:text> </a> [/CODE] Here i am not able to get the link, The … |
|
How to find errors in a given xml file, for e.g., in the following xml file.... <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category="web"> <title lang="en">XQuery Kick Start</title> <author>James McGovern</author> … |
|
Hi to all I use a cms and I want to modify an its module. I need to pass a variable to a xml file (this xml is necessary for a flash slideshow), like the value of a folder like '/example' If I create a system variable in php and … |
|
I am trying to extract the important text, and only the important text from an RSS feed. I have determimed that all of the items in the feed have the important text underneath a tag that starts <div id="important text"> ... In some of the files the important text is … |
|
Hi Please help this is driving me insane, I've simplified my XML and stylesheet below for explaining what I'm trying to achieve. My stylesheet is successfully generating a HTML file for each of my categories using title i.e. This Category.html That Category.html It also generates a simple index.html at the … |
|
How can I perform the following with this API? Form is setup in PHP for registered user to enter domain name On submit.. Check if domain is available > - If NO > output to XML > run the loop again in 5 minutes - If YES > output to … |
|
Sorry if the question is naive, I am new at this. I am trying to transform an xml document using xslt, with saxon. When I try to run my code I get this error: SERE0014: Illegal HTML character: decimal 153 After searching for a bit I discovered that the error … |
|
Hi, My issue with xml is, I have an xml like <a><b><c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> <d3 value="z" weight="30"/> </c></b></a> I need to conver this xml to, <a><b> <c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> </c> <d3 value="z" weight="30"/> </b> </a> I need move specific "d3" element (with all attributes) … |
|
I have the following code in my xsl file... [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy "©"> <!ENTITY reg "®"> <!ENTITY trade "™"> <!ENTITY mdash "—"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY pound "£"> <!ENTITY yen "¥"> <!ENTITY euro "€"> <!ENTITY amp "&"> ]> <xsl:stylesheet … |
|
Hi, I am trying to get a Javascript working in an XSL document and i can't seem to make it work for some reason. I have placed the following code within the head of my document. [CODE] <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function popup(mylink, windowname) { if (! window.focus)return true; var … |
|
I am new to XSLT Please help, Cannot use XSLT 2.0 The group priority level lowest(Public-1) TO Highest (PRIVATE-3) Public-1 Public-2 Public-3 CONFID-1 CONFID-2 CONFID-3 PRIVATE-1 PRIVATE-2 PRIVATE-3 For example a user LDAP query gives a file <result> <DN>CN=Test User ID Priv-2,CN=Users,DC=Lab,DC=acme,DC=com</DN> <attribute-value name="memberOf">CN=CONFID-2,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> <attribute-value name="memberOf">CN=PRIVATE-2,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> <attribute-value name="memberOf">CN=Public-3,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> </result> The … |
|
Suppose you have an xml file that has a portion that looks like: <div id="California">The cat is in the house <p>The horse is also in the house</p> <div><a href="wwww.whatever.com" /><p>Another pigeon?</p></div> </div> Since the top div here is buried somewhere within the file, I am trying to isolate it with … |
|
Hi, I'm using JavaScript to parse the XML onto HTML. I was wondering if there is a way that I can limit the words output on a certain XML tag. For example, for the JavaScript to only display 50 letters (or characters) of the <content> tag in XML Thank you … |
|
|
Hi, I'm about to develope a little application in C# where I need to save some data in an XML file. I'm viewing data from XML file in a DataGridView, but I would like to make changes and save it in the same XML file. I can't get it to … |
Hi, Looking at this xml: [CODE]<root> <nodeA /> <nodeB /> </root>[/CODE] Is it then possible to set the value of nodeB when inside nodeA? For example: [CODE]<xsl:template match="nodeA"> <!-- Here do something like nodeB.Text = "hi" --> </<xsl:template>[/CODE] So that the output of matching nodeA could be (the thing to … |
|
Hi guys I'm new to XSLT programming and the question I ask may appear very easy to you guys. Please help me out. This is the XML code : [CODE]<book id="12345"> <title>A<caps>New Voyage</caps>:Africa</title> <desc>abcdefgh ijklmnop</desc> </book> <book id="12346"> <title>A<caps>New Voyage</caps></title> <see id="12345">ANV</see> </book>[/CODE] I have to display the title and … |
The End.