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.

Featured Replies

  • Newbies

I am beginner to xml /rdf /xslt . I have an XML file and want to transform into RDF file using XSLT.i did not get the desired rdf format by xslt file. Please help me to improve my xslt file :(

My XML file is

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Events><Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'>
<System>
<Provider Name='Application Hang'/>
<EventID Qualifiers='0'>1002</EventID>
<Level>2</Level>
<Task>101</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime='2015-08-08T09:47:28.000000000Z'/>
<EventRecordID>3005</EventRecordID>
<Channel>Application</Channel>
<Computer>AAAA</Computer>
<Security/>
</System>
<EventData>
<Data>LiveComm.exe</Data>
<Data>17.5.9600.20911</Data>
<Data>bd4</Data>
<Data>01d0d1be80c57fd9</Data>
<Data>4294967295</Data>
<Data>C:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_17.5.9600.20911_x64__8wekyb3d8bbwe\LiveComm.exe</Data>
<Data>7443f7db-3db2-11e5-8261-a45d36cd4a42</Data>
<Data>microsoft.windowscommunicationsapps_17.5.9600.20911_x64__8wekyb3d8bbwe</Data>
<Data>ppleae38af2e007f4358a809ac99a64a67c1</Data>
<Binary>55006E006B006E006F0077006E0000000000</Binary>
</EventData>
</Event> 

My XSLT File is

<xsl:transform version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:template match='Correlation'>
<Correlation-patricia>
<xsl:apply-templates />
</Correlation-patricia>
</xsl:template>

<xsl:template match='TimeCreated'>
<TimeCreated-patricia>
<xsl:apply-templates />
</TimeCreated-patricia>
</xsl:template>

<xsl:template match='Task'>
<Task-patricia>
<xsl:apply-templates />
</Task-patricia>
</xsl:template>

<xsl:template match='Keywords'>
<Keywords-patricia>
<xsl:apply-templates />
</Keywords-patricia>
</xsl:template>

<xsl:template match='ErrorCode'>
<ErrorCode-patricia>
<xsl:apply-templates />
</ErrorCode-patricia>
</xsl:template>

<xsl:template match='Provider'>
<Provider-patricia>
<xsl:apply-templates />
</Provider-patricia>
</xsl:template>

<xsl:template match='Opcode'>
<Opcode-patricia>
<xsl:apply-templates />
</Opcode-patricia>
</xsl:template>

<xsl:template match='ProcessingErrorData'>
<ProcessingErrorData-patricia>
<xsl:apply-templates />
</ProcessingErrorData-patricia>
</xsl:template>

<xsl:template match='DataItemName'>
<DataItemName-patricia>
<xsl:apply-templates />
</DataItemName-patricia>
</xsl:template>

<xsl:template match='System'>
<System-patricia>
<xsl:apply-templates />
</System-patricia>
</xsl:template>

<xsl:template match='Security'>
<Security-patricia>
<xsl:apply-templates />
</Security-patricia>
</xsl:template>

<xsl:template match='Event'>
<Event-patricia>
<xsl:apply-templates />
</Event-patricia>
</xsl:template>

<xsl:template match='Execution'>
<Execution-patricia>
<xsl:apply-templates />
</Execution-patricia>
</xsl:template>

<xsl:template match='EventID'>
<EventID-patricia>
<xsl:apply-templates />
</EventID-patricia>
</xsl:template>

<xsl:template match='Channel'>
<Channel-patricia>
<xsl:apply-templates />
</Channel-patricia>
</xsl:template>

<xsl:template match='Computer'>
<Computer-patricia>
<xsl:apply-templates />
</Computer-patricia>
</xsl:template>

<xsl:template match='EventData'>
<EventData-patricia>
<xsl:apply-templates />
</EventData-patricia>
</xsl:template>

<xsl:template match='Binary'>
<Binary-patricia>
<xsl:apply-templates />
</Binary-patricia>
</xsl:template>

<xsl:template match='Version'>
<Version-patricia>
<xsl:apply-templates />
</Version-patricia>
</xsl:template>

<xsl:template match='Level'>
<Level-patricia>
<xsl:apply-templates />
</Level-patricia>
</xsl:template>

<xsl:template match='EventRecordID'>
<EventRecordID-patricia>
<xsl:apply-templates />
</EventRecordID-patricia>
</xsl:template>

<xsl:template match='EventPayload'>
<EventPayload-patricia>
<xsl:apply-templates />
</EventPayload-patricia>
</xsl:template>

<xsl:template match='Events'>
<Events-patricia>
<xsl:apply-templates />
</Events-patricia>
</xsl:template>

<xsl:template match='Data'>
<Data-patricia>
<xsl:apply-templates />
</Data-patricia>
</xsl:template>

</xsl:transform>

kindly help me to convert XML to RDF .....

Why are you posting your question here? It has nothing to do with Filemaker.

  • 1 year later...
On 9 August, 2015 at 11:11 PM, mid_smile said:

I am beginner to xml /rdf /xslt . I have an XML file and want to transform into RDF file using XSLT.i did not get the desired rdf format by xslt file. Please help me to improve my xslt file :(

You did not export your FMPXMLRESULT from the table where you would like to import from or export to...

Create an account or sign in to comment

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.