Newbies EagleBee Posted April 23, 2003 Newbies Posted April 23, 2003 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 have you been here? Is somebody that can help me, thanks a lot! (No way to change the xml view)
cjaeger Posted April 23, 2003 Posted April 23, 2003 you can have a loop for the /question/subquestion or use serialzing <question> <subquestion_1>...</subquestion_1> due to a bug in FM6.04, you still cannot import repeating fields into FMPro by XML, try searching http://www.filemakler.com/xml/xml_talk.html for a workaround. specifically, you might try importing related records using xsl:key statements
beverly Posted May 7, 2003 Posted May 7, 2003 the "value-of" <question> is all of the values in the element, including the values of the children elements (<sub-question>). Where is the XML source? and how are you trying to use it with FileMaker Pro?
Recommended Posts
This topic is 7871 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now