August 9, 201510 yr 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 .....
August 9, 201510 yr http://www.w3.org/wiki/ConverterToRdf#XML http://sourceforge.net/projects/xmltordf/ http://www.xml.com/pub/a/2004/09/01/tr.html http://www.iro.umontreal.ca/~lapalme/ForestInsteadOfTheTrees/HTML/ch07s04.html
January 25, 20178 yr 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