1,599 Topics
| |
I'm really stuck attempting to pull bulleted text from a rather unwieldy source. Ideally, I'd like to be able maintain the structure of bulleted items as they appeared in an odp slide. I'm using an <xsl:for-each> to loop through the text items. Essentially, I need to figure out how to … | |
Hi All, I am not sure where am i going wrong but this is something which made me realise that my understanding about the for-each and apply-templates was wrong. :( I have 2 XMLs, I want to display the 'value' present in one XML after comparing the 'name' present in … | |
Hi Guys, I am currently working on a vb project. What I am trying to do is reading a XML file and saving all the data in to the Access DB. Once this is done, I read the data from the access Db and display it in the required fields … | |
Anybody know if there is a way we can write unit tests for XSLT transformation. I have lot for XSLT files and it is becoming hard to to test them manually. I know we can have a sample XML and compare it with the output of the XSLT, but I … | |
Let say that i have the current xml document <root> <child> <name> </name> <lastname> </lastname> </child> <child> <name> </name> <lastname> </lastname> </child> <child> <name> </name> <lastname> </lastname> </child> ... </root> I use <xsl:for-each select="root/child"> and then type <ul> <li> <xsl:value-of select="name"/> <xsl:value-of select="lastname"/> </li> </ul> The problem is that i … | |
hi, i'm using Element Tree API to generate XML. But I'm getting error when opening the xml output. I tried to generate to a file and it worked. No error when running the Python code. Pls advise me why is not workin when i generate to an xml. fyi i'm … | |
Need to make a dtd for this xml code. There seems to be errors that come up, tryed it on w3 xml validator and it gives an error message. [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Timetable [ <!ELEMENT Timetable (week, timecode)> <!ELEMENT week (day)> <!ELEMENT timecode (time)> <!ELEMENT time (#PCDATA)> <!ELEMENT day … | |
Hello Experts, I am trying to extract data from XML file which is as follows [CODE] <lineage> <taxon scientificName="Homo" taxId="9605" rank="genus"/> <taxon scientificName="Homininae" taxId="207598" rank="subfamily" hidden="true"/> <taxon scientificName="Hominidae" taxId="9604" rank="family"/> <taxon scientificName="Hominoidea" taxId="314295" rank="superfamily" hidden="true"/> <taxon scientificName="Catarrhini" taxId="9526" rank="parvorder"/> <taxon scientificName="Simiiformes" taxId="314293" rank="infraorder" hidden="true"/> <taxon scientificName="Haplorrhini" taxId="376913" rank="suborder"/> <taxon scientificName="Primates" … | |
Need help in transforming xml to xsl. I am trying to create a timetable and am trying to transform the xml data that i have into an xsl data. [CODE]<Timetable> <Week> <Day DayID = "Monday"></Day> <Day DayID = "Tuesday"> <Session no = "1"> <Module type = "CMT111"> <ModuleName> CPM </ModuleName> … | |
I have a requirement to convert following xml into another xml with correct values.. This is sample requirement <MAINTABLE> <TABLE1> <ROW1> <COL1>VAL111 </COL1> <COL2>VAL112 </COL2> <COL3>VAL113 </COL3> </ROW1> <ROW2> <COL1>VAL121 </COL1> <COL2>VAL122 </COL2> <COL3>VAL123 </COL3> </ROW2> </TABLE1> <TABLE2> <ROW1> <COL1>VAL211 </COL1> <COL2>VAL212 </COL2> <COL3>VAL213 </COL3> </ROW1> <ROW2> <COL1>VAL221 </COL1> <COL2>VAL222 … | |
| So I've made a Task Scheduling application (for learning purposes). The program currently saves all the data in simple text form. I use Regex to split the data up and assign it to the appropriate variables. I don't really like this way of doing things as it seems messy and … |
I have one problem with '/' we have a field which contains multiple values and these values will come separated by a slash '/'. Now i dont know how to resolve when the values it self contains a '/'. For eg. <xsd:Value> Tiger / Lion / Deer</xsd:Value>----This is what is … | |
Could someone point me in the right direction of hopefully a library or code examples, any resources on how to take XML and create a PDF using XSL-FO in Python? If I should have to use an XML renderer, then which XML renderer is recommended? | |
I want to make collapsible groups in an excel document(in excel, on to the Data tab, Outline section, Group button) using XSLT. Is this possible? If so, does anyone have an example or link of how this is done? Thanks in advance. | |
Hello, I have a problem. I would like to search certain word from xml. For example: I would like to search "black". And in XML file there is value "black board". But it does not appear. Does anyone know how to solve it? I mean when I type "black", the … | |
I am having trouble trying to implement parameter entities so that i can repeat text multiple times within the DTD. example XML code: [CODE] <accounts> <luke> <shipping_address> <address></address> <street></street> <city></city> <postcode></postcode> </shipping_address> </luke> <angie> <billing_address> <address></address> <street></street> <city></city> <postcode></postcode> </billing_address> </angie> </accounts> [/CODE] The address, street, city, postcode elements both … | |
I just want to ask what this code practically means? [CODE]<xsl:variable name="gSetValues" select="toolPackage:setValues($obDateFormat,$gDocID)"/> <xsl:variable name="gSmi" select="normalize-space(toolPackage:PubMetaDataReader.getEntry($gKey, 'smi'))"/> <xsl:variable name="obDateFormat" select="toolPackage:LNDateFormat.new('<input format date>', '<output format date>', 'ENGLISH', 'German', '19000101', '365', '19000101')"/> <xsl:variable name="vFormattedLoadDate" select="toolPackage:reformat($obLoadDateFormat,$gLoadDate,$gDocID)"/>[/CODE] I don't understand the 'totalPackage' followed by setValues,LNDateFormat,PubMetaDataReader.getEntry,reformat ? How can I connect each different 3 XML … | |
Hi all, I'm having an issue with updating an XML that already exists. I have no problem creating an XML but when it comes appending to the end an existing xml nothing happens. I dont get any error messages so I'm not sure what I'm missing, the first part where … | |
I currently have am using Google Calendar for a website but I am creating a CMS system and want to be able to edit the calendar straight from my CMS system without having to go login to Google. Is there a way to do this? If not is there an … | |
I have an xml output file that I want to check that a directory exists: [CODE] <row_element column="6" property_name="TEST">file_name = sample.txt ~ parent_file = main.txt ~ root_directory = c:\main\sample</row_element> <row_element column="6" property_name="TEST">file_name = sample2.txt ~ parent_file = main.txt ~ root_directory = c:\main\sample2</row_element> [/CODE] I tried the code below, but noticed … | |
hi can someone help me iv never done any programming for standalone or desktop before.web is my domain but i have a task im trying to figure out how i can go about this. iv got a php site were you can search for shops and you get there categories,address,country … | |
Hello experts, I am trying to extract the abstract from the following XML code that appears as follow; [CODE] <abstract> <p> In eukaryotes, glutathione S-transferases (GSTs) participate in the detoxification of reactive electrophillic compounds by catalysing their conjugation to glutathione. GST is found as a domain in S-crystallins from squid, … | |
Hi all, I need to translate my xml data to a new XML file wuth XSLT. I thought I had it, but I only got first row. Need help to write the XSLT. I have XML data exported from access: (using XSLT - to get my file) - <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" … | |
Hi all, I'm fairly new to XML and XPath. I was wondering if someone could help me in understanding the following line of code and what element(s) it is pointing to: [CODE]<xsl:variable name="EmpPos" select="[COLOR="Green"]count(preceding-sibling::Employment)+1[/COLOR]"/>[/CODE] Any help is greatly appreciated. | |
Hi, I'm new to these forums and have been working with xslt for about a month. So far I've been able to do just about everything I need with it, but my most recent task has me confused. I have a relatively flat xml structure that I'm using XSLT to … | |
I have an app that writes to XML. If a text box is filled, then I write that value to the XML doc. [CODE] writer.WriteStartElement("VEHICLE_LICENSE_NUMBER") '10-28 writer.WriteString(frmCitation.txtPlate.Text.ToString) writer.WriteEndElement()[/CODE] If TEST123 is the value in the text box, this is the result. [CODE]<VEHICLE_LICENSE_NUMBER>TEST123</VEHICLE_LICENSE_NUMBER>[/CODE] Question is, if that value in the textbox … | |
Hello experts, I am trying to extract the abstract from the following XML code that appears as follow; [CODE] <abstract> <p> In eukaryotes, glutathione S-transferases (GSTs) participate in the detoxification of reactive electrophillic compounds by catalysing their conjugation to glutathione. GST is found as a domain in S-crystallins from squid, … | |
I am trying to use the java XOM libraries but I am having trouble getting them to work the way I want them to. I want to get each element and its attributes from an xml file then use that information to create folders and files on the users computer … | |
Guys, right now i am posting xml to a service running on certain port. my sample code is [CODE] Quote: $XPost = fread($handle, filesize($xmlfile)); fclose($handle); $ch = curl_init(); // initialize curl handle curl_setopt($ch, CURLOPT_VERBOSE, 1); // set url to post to curl_setopt($ch, CURLOPT_URL, $URL); // set url to post to … |
The End.