Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML/XSL

  1. Started by pelegk,

    i have this code and i am intrested that if there is no <item> then the response to the client will be an empty string and not like know that the <table....> is being sent to the user(even there is no data!!!) thnaks in adbvance Peleg <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <table dir="rtl" align="center" width="100%"> <tr> <td class="text14"><b>&#1513;&#1501; &#1502;&#1513;&#1508;&#1495;&#1492;</b></td> <td class="text14"><b>&#1513;&…

    • 0 replies
    • 947 views
  2. Started by aklodner,

    Boston, MA

    • 0 replies
    • 800 views
  3. i have this line in xsl : Map_OnClick('{normalize-space(street)}','{normalize-space(homeNo)}','{normalize-space(city)}')"> the normalize-space(street) returns me a string which contains a (') char! beacuse of that when i get the html pagei am getting an erro's(when i open the source of the html isee that it have made a mess there! ) what to do? thanks in advance Peleg

    • 0 replies
    • 754 views
  4. Started by pelegk,

    i have read in a book that it's possible to call to xsl from pdf files! some thing with "xsl-fo" (i didnt find there good explenation beacuse of that i come to u ) does any 1 know's how to do it? thnaks in advance Peleg

    • 0 replies
    • 970 views
  5. i have this code : <xsl:template match="/"> <table dir="rtl" align="center" border="1"> <tr> <td class="text14" width="180"> <b><font color="blue">name</font></b> </td> <td class="text14" width="180"> <b><font color="blue">type</font></b> </td> </tr> <xsl:for-each select="//ROOT/item"> i dont know what to write next -->> what i want is to run with th loop only on the elements that say there value is "3" and not to go all over the xml and start to check each 1!!! is it possible?how? thnaks in advance Peleg

    • 1 reply
    • 769 views
  6. Started by pelegk,

    can i do some sort of flag in xsl? i need to check if something in the "choose" structure was done or not! is t possible?

    • 7 replies
    • 1.1k views
  7. Started by pelegk,

    i have a table and i want that each <td> {code that i get from xml} </td> will in each <td> ! i didnt find any way to read varibales from the xsl like : position() and write them between the <td> like this : <td> { position() } </td> what to do??? thnaks in advance! Peleg

    • 0 replies
    • 728 views
  8. Started by pelegk,

    i have been told that it's possible to build something like databases recordset! how can i do it in xsl?how to use it in client side? thanks in advance Peleg

    • 12 replies
    • 24.7k views
  9. what is the execlly use of xsl:template (and please dont reffer me to msdn)

    • 1 reply
    • 1.2k views
  10. Started by pelegk,

    i have first loop : <xsl:for-each select="$sorted-nodeset[position() &gt; $first-item and position() &lt;= $last-item]/medGeneral"> and i have inner loop <xsl:for-each select="../medDesc/item"> when i try in the inner loop to get the position() or to count() th child's i get error! why please helppppppppppppppp

    • 1 reply
    • 834 views
  11. I have the following specific problem.. I have xml-files which have the following general format: ... ... ... <object id="11534" type="6"> <property id="393228"> <int>33554431</int> </property> </object> ... ... ... where a property can (instead of type int) be a object again, or a objref, or a simple type. I want to use xslt to transform this format, to something more specific like: <object6 id="11534"> <property id="393228"> <int>33554431</int> </property> </object6> (So object types can be distinguished by looking only at the n…

    • 4 replies
    • 1.2k views
  12. Started by pelegk,

    yes but i have another strane problm : i am working with xsl! i am using microsoft : ActiveXObject("Microsoft.XMLHTTP"); to get a respone from an xml! when i recive the first page everything is ok when i go to the second page this is all i see!!! what to do this is what i get -> &#26979;&#31092;&#14880;&#14624;&#12337;&#15408;&#21058;&#25406;&#29801;&#15481;&#21058;&#15422;&#26624;&#29696;&#27904;&#27648;&#8192;&#30720;&#27904;&#27648;&#28160;&#29440;&#14848;&#27904;&#29440;&#30720;&#29440;&#27648;&#15616;&#8704;&#29952;&am…

    • 0 replies
    • 829 views
  13. Started by pelegk,

    i am trying to do this : <xsl:if test="position() mod 2!=0"> <xsl:value-of select="&#60;"/> <xsl:value-of select="tr" /> <xsl:value-of select="&#62;"/> </xsl:if> or <xsl:if test="position() mod 2!=0"> <xsl:value-of select="&lt;"/> <xsl:value-of select="tr" /> <xsl:value-of select="&gt;"/> </xsl:if> but no one of this work's! when i try to run it i get i have an error "expression expected" : "--><<-- what can i do to over ride this problem? thanks in advance PEleg

    • 16 replies
    • 1.8k views
  14. that the variable i check has only space chars like this " " ?

    • 1 reply
    • 1.2k views
  15. Started by pelegk,

    is there a place where i can find all of the xsl function list like string-length() and so on (and dont tell me msdn beacuse i know hat it explains about the functions but it is not giving me a full list of it! thank Peleg

    • 1 reply
    • 979 views
  16. Started by pelegk,

    how do i make a simple counter in xsl in <xsl:for-each > loop? i just want to do : count=count+1 how do i do that? thanks Peleg

    • 2 replies
    • 929 views
  17. Started by pelegk,

    the prolem is this :i i have a hidden value : (*) <input type="hidden" size="2" name="STREET" value=""></input> i want to give the value type a value from an xml! the value that i read is this : <xsl:value-of select='normalize-space(street)'/> when in line (*) i try to do : value=<xsl:value-of select='normalize-space(street)'/> its a mistake!!!!!!!! do u know what can i do? thanks in advance Peleg

    • 1 reply
    • 6.6k views
  18. Started by Ocean West,

    I Have an image database with many photos I would like to via FMP export a found set to XML and have a web browser open up with 4up images so i can view them. Then hit a next button to see the next four. The reason we wish to do this is that speed is becoming an issue we need to be able to flip thru a few hundred images in a few seconds to get an broad sence of the contents of pictures. Viewing images via FMP is slow to render. If I understand XML it only needs to create one html document? then the XSL say will display 4 images at a time.? Then the user could sort the images based upon the xml /xsl? I created another method creating html pages but this creates …

    • 5 replies
    • 1.4k views
  19. Started by Anh_Tran,

    Dear All, Is there a way to export a record to Ms-word file using XML right? ... I really have no idea how to make a ms-word file. Someone knows about it? Thanks

    • 4 replies
    • 1.5k views
  20. Started by Tombstone0,

    Every time I try to export a url containing an "&", fmpxmlresult adds "amp;" to the output following the "&". I'm planning to just write an applescript to remove the "amp;" everywhere it occurs but it would be nice if this wasn't necessary. Does anyone have any idea's as to why this is happening and how I could stop it. Thanks

    • 2 replies
    • 903 views
  21. Started by BruceJ,

    I'm begining to learn about XSL and how it works to get the info from an XML source. However, I'm stumped when it comes to knowing how to format my HTTP requests to the XML data source on the web. Can someone enlighten me as to the standards, I see lots of "?" and "&" and "=" used, but I'm not confident enough, smart enough, nor patient enough to keep experimenting with various formats of these things.

    • 1 reply
    • 951 views
  22. Started by iwerks,

    Greetings all I have the follow example of xml file: <?xml version="1.0"?> <store> <book> <title>The Fall</title> <authorName>Wayne</authorname> </book> <book> <title>Mysterious Ways</title> <authorName>Stephen Gerard</authorname> </book> <book> <title>Inside XSLT</title> <authorName>David Ross</authorname> </book> <book> <title>Legends of Olf the Wizard </title> <authorName>P.Jerry</authorname> </book> </store> ..the question is, how can i use the X…

    • 1 reply
    • 1.2k views
  23. Started by chirag,

    HI I have the following XML source file which has to be converted into HTML file using XSL <?xml version="1.0"?> <root> <emailaddress> [email protected] </emailaddress> </root> i want to know how to provide a hyperlink for emailaddress using <a href="mailto:..." in the resulting HTML which will be generated by a XSL stylesheet. plz help cheers chirag

    • 1 reply
    • 984 views
  24. Started by chirag,

    hi i would like to know if there is any mathematical operator in XSL that allows to find the modulus. as there is the '%' operator in Java which returns the remainder, is there any operator that performs the same function in XSL? cheers chirag

    • 1 reply
    • 1.1k views
  25. Started by EagleBee,

    Here is the xml view: <question>This is the first question <subquestion>How old are you?</subquestion> <subquestion>How lone have you been here?</subquestion> . . . </question> I met a problem. I wanna display the xml by xslt modification like the following: Question 1 This is the first question 1)How old are you? 2)How lone have you been here? But whatever I use <xsl:value-of select="."/> under question tag or use apply-templates, the result always like: Question 1 This is the first question.How old are you?How lone have you been here? 1)How old are you? 2)How lone h…

    • 2 replies
    • 1k views
  26. https://dlaweb.bsm.dla.mil/SRweb/ contains XML files under the 'download daily' area. Also available is something called a 'DTD' file . I know the DTD is Doc Type Definition. From first reasearch I gather this is similar to an XSLT. PROBLEM:When I try to open XML source and direct Filemaker to the downloaded XML file (SolsDailyXML2003-04-23.xml) it returns an 'XML Parsing Error...'Attribute NAME not declared for Element SYSTEMPARAMETER'. Do I need to somehow use the DTD to create an XSL which will tell FMP how to interpret the XML? or is there something wrong with my thinking that FMP can open this doc? Could I somehow open in Excel or is some other APP r…

    • 2 replies
    • 1.1k views
  27. Started by cjaeger,

    try this marvellous Example of XSLT Programming with FileMaker: win mac FileMaker to Keynote tool FileMaker Inc. The FileMaker to Keynote tool allows FileMaker customers to transform data contained within FileMaker Pro 6 databases into native presentations for Apple Computer

    • 0 replies
    • 1.1k views
  28. Started by jonr,

    I'm exporting to an xml file using an xsl stylesheet. The fmp file has fields "alpha" and "beta" (I'm simplifying this down to its essentials). The contents of these fields are respectively "one" and "two". Here's what I want in the output document: one two I've tried various methods to achieve this. However, if I use the standard technique: <xsl:value-of select="fmp:alpha"/><xsl:text> </xsl:text><xsl:value-of select="fmp:beta"/> I get: one two (Actually, it's "one" followed by 0D0D0A; i.e. there's an extra carriage return.) I've tried just about everything else I could think of, such as: <xsl:value-of select…

    • 4 replies
    • 3.5k views
  29. Started by Osman,

    I have to export my records as XML. Because of some advantages of it. But it has got a disadvantage too. XML files are to larger than tab files. How can i decrese my XML file. Can XSL help me? Is it larger file too? Thanks for your helps.

    • 2 replies
    • 901 views
  30. Started by B-Man,

    I am looking for some information on importing a Adobe XFDF file into FM. Has anyone done this using an XSL style sheet? Thanks, Brian

    • 1 reply
    • 1.8k views
  31. Started by EddyB,

    Hi, I have absolutely no prior knowledge or experience of XML XSL I've heard words like stylesheets etc but have never read anything about this so I haven't got a clue. Can someone tell me if the following would be possible using XML There is a website - not mine so I cannot change this in anyway - this website contains records and fields. One of the fields is a reference number. Can I set my solution up so that in my FileMaker Pro Database I can enter the reference number, click a button, it will then go off to the website find this record, and bring back into my database the other information from the other fields into seperate fileds on my database.…

    • 3 replies
    • 1.1k views
  32. Started by BruceJ,

    I need to an XM L web source via HTTP POST. From what I understand (and thats not much) FileMaker only does HTTP GET. Any sugestions or am I dead in the water?

    • 3 replies
    • 1.5k views
  33. I'm trying to display a article summaries and each summary has a category. I want to display the category only when it is different . i.e. If the category for next following summaries is different from the previous then display it otherwise display a blank line. Below is a snippet of my xsl file: <table border="0" cellpadding="3" cellspacing="3"> <xsl:variable name="prev_category"><xsl:value-of select="fmp:RESULTSET/fmp:ROW[1]/fmp:COL[4]"/></xsl:variable> <tr><td><xsl:value-of select="fmp:RESULTSET/fmp:ROW[1]/fmp:COL[4]"/></td></tr> <xsl:for-each select="fmp:RESULTSET/fmp:ROW"> <xsl…

    • 0 replies
    • 1.1k views
  34. Started by macaroni,

    I created a test db called, newsletter which contains the fields of article_id, category, title, summary, and weblink. Then I exported it to XML and when I veiwed the XML file, there was a lot of stuff which I wasn't too clear on. The tags were <col><data>foobar</data></col> for all the records, my question is how do you make it such that it would be <article id="123"> <category>Sales</category><title>My title</title><summary>Blah Blah Blah</summary><weblink>http://mylink.com/thislink.com</weblink> </article> Is this where XSL comes in? If so, can anyone explain how to write my…

    • 1 reply
    • 1.2k views
  35. Started by Tombstone0,

    I'm attempting to write a xsl style sheet to import rdf files into filemaker. I'm trying to import from http://www.macslash.org/macslash.rdf. my stylesheet looks like (modified version of rss2fmp): <?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:output method="xml" encoding="utf-8" indent="yes" /> <xsl:template match="/"> <FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult"> <ERRORCODE>0</ERRORCODE> <PRODUCT BUILD="" NAME="FileMaker Pro XML Import" VERSION="6.0v1" /> <DATABASE DATEFORMAT="yyyy.MM.dd" LAYO…

    • 1 reply
    • 1.8k views
  36. Started by LVA,

    I work for a company that has a FileMaker system and needs to have its system data to be viewed on the company intranet. As I've read about all the limitation on using webcompanion. I've been thinking that exporting filemaker records to an XML file could be a solution to make these data in FileMaker to be seen by the whole company using intranet. Does someone have experience on making something similar to what I need ?

  37. Started by StephenKnight,

    Richmond, VA--January 1, 2003--FMWebschool announces "FileMaker XML/XSLT In 8 Hours." NEW FileMaker XML/XSLT Book Receive 30% off of this bound book if your purchase between January 1st - 10th. Learn the "key" concepts you need to know to incorporate XML/XSLT with FileMaker Pro. Divided into 8, one hour chapters, this book strips away the embellishments and gets into the core principles that you need. A companion CD is also included with examples and database files that complement the topic. Open source technology is taking the world by storm. Now you can be in the technology boat, not hanging onto a life jacket in the technology tempest! As we have seen i…

  38. Hi, I'm quite new to xml, so this may be a silly question, but here goes.... I'm creating a FM solution that will import data from QuickBooks, an accounting package from Intuit that has about 90% of the market for small business accounting software. I'm using the FileBooks Link plug-in (Happy Software) to exchange xml data between FM and QB. I'm sending a query to QB that results in the creation of an xml document. I'm then importing this xml document into FM via an xslt that I've created. So far, so good. In QuickBooks, users can make deposits into their bank account. There is data for the total amount of the deposit, as well as data for each che…

    • 0 replies
    • 970 views
  39. Started by asmith,

    I want to have a field in my database be the title of the web page generated by an XSL template file. One of the sample files uses the name of the database as the title of the web page like so: <html> <head> <title> <xsl:value-of select="$dbName"/> </title> </head> I am wondering if it is possible to have the value in a specific field as the title. field name: company and have the value of the 'company' field (ABC Yard Service) to be the title in a webpage. I was thinking I could use something like: <xsl:value-of select="fieldName:company"/> but I do not know the correct syntax or if i…

    • 2 replies
    • 1.1k views
  40. Started by JerrySalem,

    Very Newbie question, but I can't seem to find a straight answer on the FM web site. I have a simple XML document created in another app. Basically a flat spreadsheet of info. I would like to be able to open it in FM6, really just to view it. But I can't seem to get FM6 to either open it or import it. I think my problem is that I need to define a XSL style sheet. How do I do this? My platform (for this project is NT4) TIA Jerry

    • 2 replies
    • 1.4k views
  41. Started by tpoint,

    I am a rigorous FMP developer but have avoided web publishing (except instant wp). I now need to investment the time to learn custom publishing. Here are three questions that maybe someone can give an opinion on: 1 Can the newly touted XML/XSL combo replace the CDML tag route completely? 2 Is CDML going to survive and thrive (is it adequately supported by 3rd party companies?) 3 Honestly, if you were starting out to learn web development as a career, which would you choose...XML or CDML and if, "you need both", why? Multiple postings and long dialogs appreciated. Thanks. ------------------

  42. Started by neilvk,

    I am using FM5 and use the xml in an ASP application. <COL> <DATA>value1</DATA> <DATA>value2</DATA> </COL> where there is only one data element i can use the following code to get the value i want: var = columns.item(0).text however, what code do i need to use to be able to read 'value1'or 'value2' ? thanks Neil

    • 1 reply
    • 1.1k views
  43. Started by Corys,

    Hello, I am new to using FMP with XML and am just curious if this can be done.. I want to setup a DVD database where I can just enter the ISBN number of a DVD, and have filemaker pull an XML file from a website (based on the ISBN Number) and auto enter all the details of the DVD. Amazon.com provides XML feeds on all their product info pages, and it's cataloged by the ISBN number, so that would be the source of the information. Thanks! Cory

    • 1 reply
    • 1.2k views
  44. Started by marc10,

    Hi mine name is Marc. I have a problem here which goes like this. I created 3 XML files which looks like this....(Example of first, second and third file). ---1st--- <dataseries> <location WMO="1" latitude="0.1833" longitude="94.4667"> <date y="1962"> <month m="1128"> <time time1="2254"> <info vessel="49KO" cruise="00703" station="0007" pairs=" 20" datatype="1" /> <profile id="SD21009_10"> <point depth="0000" temperature="28300" p_temp="1" salinity="33480" p_sal="2" /> <point depth="0010" temperature="28490" p_temp="2" salinity="33510" p_sal="2" /> <point depth="0019" temperature="28330…

    • 0 replies
    • 1k views
  45. Started by michele,

    Ok, I'm gonna be very honest about this. I'm trying to make my (very, very) first XML steps. So I downloaded the example files from FM but they don't work on my mac. Why ? Do I have to put a plug-in ? Is there a place on the web where I can find a 'great' tutorial for working with FM and XML, or is there a good book. I found good websites yet to learn XML, like www.topxml.com The manual and FM-site all sound a bit vague to me. Thankyou for reading and eventually answering my very newbee question. Mich

  46. Started by LynfordD,

    Can you direct me to a example to save a simple solusition as XML ... So others can view it with a web brouser.

    • 1 reply
    • 1.4k views
  47. Started by SuperMacGuy,

    Can anyone tell me how the XML output is beefed up in v6? I specifically want to know if output from a portal can be formatted differently or if xslt transformations can be applied. (Currently I can't get our XML output from several FM portals to work in our Mac environment because I cannot transform the column-like xml portal output back into a row-like format that the portal should be viewed as.) So can FM do xslt transforms, or has any good new xslt parsers for InternetExplorer for Mac popped up? Thanks Chris

    • 1 reply
    • 1.6k views
  48. Started by Zoracle,

    I'm having problems formatting my database using xsl. Even when I use css, it doesn't do it correctly. But when I use xsl, it doesn't work at all. I get the message: "Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. " I'm using the url with the tags in it like this: "-styletype=text/xsl&-stylehref=http://192.168.254.205/xsl1.xsl" What could be wrong with how I'm doing this? Any ideas? Thanks, Zach

    • 4 replies
    • 2k views

Recently Browsing 0

  • No registered users viewing this page.

Who's Online (See full list)

  • There are no registered users currently online

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.