際際滷

際際滷Share a Scribd company logo
F I L E S
XML, XPath, XSLT...
the 'X' files?
ATA 56th Annual Conference, Miami
Paul Filkin pfilkin@sdl.com
November 4 -7, 2015
2
What is XML?
eXtensible Markup Language
+
3
When its simple
4
 its easy!
SDL Trados Studio memoQ CafeTran
5
When its not so simple
6
 it gets a little trickier!
SDL Trados Studio
memoQ
CafeTran
7
Some tools can still handle these
 in a friendly way
SDL Trados Studio D辿j Vu
8
But what happens if the file looks like this?
9
But what happens if the file looks like this?
10
But what happens if the file looks like this?
11
But what happens if the file looks like this?
12
Now we need to get specific
 XPath is a syntax for defining parts
of an XML document
 XPath uses path expressions to
navigate in XML documents
 XPath contains a library of
standard functions
 XPath is a major element in XSLT
 XPath is a W3C recommendation
13
XPaths purpose is to locate
any part of an XML document
14
X Path Terminology
(151030) The X files
16
Studio gave us a clue earlier
//text/@line
17
Studio gave us a clue earlier
//text/@line
18
//text/@line or /atts/title/verse1/text/@line
c:UserspfilkinDocumentsSDLPresentations20151104 (Miami - ATA)PresentationsThe X FilesFiles02  not so simple.xml
19
//text/@line or /atts/title/verse1/text/@line
c:UserspfilkinDocumentsSDLPresentations20151104 (Miami - ATA)PresentationsThe X FilesFiles02  not so simple.xml
Now carry on drilling down
Helpful and free
XPath Tools
21
xmltree : http://xpathexplorer.sourceforge.net/
XPath expression
is returned here
Results of the XPath
are returned here
Select the XML Node
22
memoQ multilingual XML
Select the XML Node
XPath expression
is returned here
23
XMLQuire: http://qutoric.com/xmlquire/
Type your XPath expression
Highlights one result
at a time in the XML file
XPath info box
24
XPath Visualizer : http://xpathvisualizer.codeplex.com/
Type your XPath expression
Highlights all results
in the XML file
A few XPath Examples
26
A few basics element nodes
 Use //* to extract all elements
 Use //simpleelement to extract any text in this element
 1, 2, 3, 4, 5, 6, 7
 Use //nestedelement/simpleelement to extract only text from
duplicated child elements with different parent elements
 2
< title lang='en >
element
attribute
27
A few basics attribute nodes
 Use //*/@* to extract all attributes
 Use @translateatt to translate any translateatt attribute
 3a, 5a
< title lang='en >
element
attribute
28
A few basics putting statements together
 Use //* | //*/@* to extract all elements and all attributes
together in one statement
29
What else makes up an XPath?
My clever dog Regex barked at the mailman
30
What else makes up an XPath?
My clever dog Regex barked at the mailman
Complete Subject
31
What else makes up an XPath?
My clever dog Regex barked at the mailman
Complete Subject Predicate
Expresses what the subject does
32
What else makes up an XPath?
My clever dog Regex barked at the mailman
Complete Subject Predicate
Expresses what the subject does
barked
Always includes a verb, can also include other descriptive words
33
What else makes up an XPath?
My clever dog Regex barked at the mailman// [ ],聞 聞
34
What else makes up an XPath?
My clever dog Regex barked at the mailman// [ ],聞 聞
Node test
35
What else makes up an XPath?
My clever dog Regex barked at the mailman// [ ],聞 聞
Node test Predicate
Narrows down the Node test
36
What else makes up an XPath?
My clever dog Regex barked at the mailman// [ ],聞 聞
Node test Predicate
Narrows down the Node test
barked
Does not have to include a node, but always includes other descriptive tests
37
Predicates
 Use //*[@translate='yes'] to extract any text in any element
with this attribute value
 3, 6, 8
 Remember @translateatt
Now well use //*[not(@translate="no")]/@translateatt to
conditionally translate this same attribute
 5a
38
Functions and Operators
 Use //*[contains(text(), 'ATA56')] to extract the contents of
any segments containing the text ATA56
 1, 9, 11
 Use //condition[answer/text()='42']/extract to extract the
contents of the extract element if the value of the answer
element is 42
 13
39
Namespaces
 Use //*[local-name()='strong'] instead of //strong to extract
text from all elements irrespective of the use of namespaces
 14, 15, 16
40
Miscellaneous uses
 Use //xpath/text() to use content from the xml file as
descriptive text for the DSI column in SDL Trados Studio
41
Miscellaneous uses
 Use attribute values to control segment lengths in the
advanced options, so @max or @min for max=50 or
min=5 in SDL Trados Studio
42
Reference
http://www.w3.org/TR/xpath/
43
44
What is XSLT?
eXtensible Stylesheet Language Transformations
45
XSLT uses XPath!
46
Looks familiar? Creating your template
47
Looks familiar? Creating your template
Selecting XML comments
48
Looks familiar? Creating your template
Selecting XML comments
Selecting XML attribute values
49
An improved experiencememoQ
50
An improved experiencememoQ
51
An improved experienceSDL Trados Studio
52
An improved experienceSDL Trados Studio
(151030) The X files

More Related Content

Similar to (151030) The X files (20)

Advanced Web Programming Chapter 12
Advanced Web Programming Chapter 12Advanced Web Programming Chapter 12
Advanced Web Programming Chapter 12
RohanMistry15
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
Swati Parmar
Xml session
Xml sessionXml session
Xml session
Farag Zakaria
MT_LinqXml _Introduce Linq to XML and Application.pdf
MT_LinqXml _Introduce Linq to XML and Application.pdfMT_LinqXml _Introduce Linq to XML and Application.pdf
MT_LinqXml _Introduce Linq to XML and Application.pdf
daihiepvl80
Xpath
XpathXpath
Xpath
xavier john
XML
XMLXML
XML
baabtra.com - No. 1 supplier of quality freshers
python interview prep question , 52 questions
python interview prep question , 52 questionspython interview prep question , 52 questions
python interview prep question , 52 questions
gokul174578
55j7
55j755j7
55j7
swein2
When to use python in FME
When to use python in FMEWhen to use python in FME
When to use python in FME
Daniela Perri
Xml presentation
Xml presentationXml presentation
Xml presentation
Miguel Angel Teheran Garcia
.NET Multithreading/Multitasking
.NET Multithreading/Multitasking.NET Multithreading/Multitasking
.NET Multithreading/Multitasking
Sasha Kravchuk
Scala - core features
Scala - core featuresScala - core features
Scala - core features
ukasz W坦jcik
XPath Injection
XPath InjectionXPath Injection
XPath Injection
Roberto Suggi Liverani
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
Kumar
Article link httpiveybusinessjournal.compublicationmanaging-.docx
Article link httpiveybusinessjournal.compublicationmanaging-.docxArticle link httpiveybusinessjournal.compublicationmanaging-.docx
Article link httpiveybusinessjournal.compublicationmanaging-.docx
fredharris32
These questions will be a bit advanced level 2
These questions will be a bit advanced level 2These questions will be a bit advanced level 2
These questions will be a bit advanced level 2
sadhana312471
Xml
XmlXml
Xml
baabtra.com - No. 1 supplier of quality freshers
Python Interview Questions For Experienced
Python Interview Questions For ExperiencedPython Interview Questions For Experienced
Python Interview Questions For Experienced
zynofustechnology
ITU - MDD - XText
ITU - MDD - XTextITU - MDD - XText
ITU - MDD - XText
Tonny Madsen
Everything You Always Wanted to Know About Memory in Python - But Were Afraid...
Everything You Always Wanted to Know About Memory in Python - But Were Afraid...Everything You Always Wanted to Know About Memory in Python - But Were Afraid...
Everything You Always Wanted to Know About Memory in Python - But Were Afraid...
Piotr Przymus
Advanced Web Programming Chapter 12
Advanced Web Programming Chapter 12Advanced Web Programming Chapter 12
Advanced Web Programming Chapter 12
RohanMistry15
MT_LinqXml _Introduce Linq to XML and Application.pdf
MT_LinqXml _Introduce Linq to XML and Application.pdfMT_LinqXml _Introduce Linq to XML and Application.pdf
MT_LinqXml _Introduce Linq to XML and Application.pdf
daihiepvl80
python interview prep question , 52 questions
python interview prep question , 52 questionspython interview prep question , 52 questions
python interview prep question , 52 questions
gokul174578
55j7
55j755j7
55j7
swein2
When to use python in FME
When to use python in FMEWhen to use python in FME
When to use python in FME
Daniela Perri
.NET Multithreading/Multitasking
.NET Multithreading/Multitasking.NET Multithreading/Multitasking
.NET Multithreading/Multitasking
Sasha Kravchuk
Scala - core features
Scala - core featuresScala - core features
Scala - core features
ukasz W坦jcik
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
Kumar
Article link httpiveybusinessjournal.compublicationmanaging-.docx
Article link httpiveybusinessjournal.compublicationmanaging-.docxArticle link httpiveybusinessjournal.compublicationmanaging-.docx
Article link httpiveybusinessjournal.compublicationmanaging-.docx
fredharris32
These questions will be a bit advanced level 2
These questions will be a bit advanced level 2These questions will be a bit advanced level 2
These questions will be a bit advanced level 2
sadhana312471
Python Interview Questions For Experienced
Python Interview Questions For ExperiencedPython Interview Questions For Experienced
Python Interview Questions For Experienced
zynofustechnology
ITU - MDD - XText
ITU - MDD - XTextITU - MDD - XText
ITU - MDD - XText
Tonny Madsen
Everything You Always Wanted to Know About Memory in Python - But Were Afraid...
Everything You Always Wanted to Know About Memory in Python - But Were Afraid...Everything You Always Wanted to Know About Memory in Python - But Were Afraid...
Everything You Always Wanted to Know About Memory in Python - But Were Afraid...
Piotr Przymus

More from Paul Filkin (9)

Easier Audiovisual Translation with SDL Trados Studio
Easier Audiovisual Translation with SDL Trados StudioEasier Audiovisual Translation with SDL Trados Studio
Easier Audiovisual Translation with SDL Trados Studio
Paul Filkin
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Ask the Experts: SDL Trados live Q+A webinar  for freelance translatorsAsk the Experts: SDL Trados live Q+A webinar  for freelance translators
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Paul Filkin
Subtitling in SDL Trados Studio
Subtitling in SDL Trados StudioSubtitling in SDL Trados Studio
Subtitling in SDL Trados Studio
Paul Filkin
GALA 2014 Are you really interoperable?
GALA 2014   Are you really interoperable?GALA 2014   Are you really interoperable?
GALA 2014 Are you really interoperable?
Paul Filkin
Trikonf 2015 - Community, Studio and the OpenExchange
Trikonf 2015  - Community, Studio and the OpenExchangeTrikonf 2015  - Community, Studio and the OpenExchange
Trikonf 2015 - Community, Studio and the OpenExchange
Paul Filkin
Taus qe summit dublin 2015 pemt analysis and valuation
Taus qe summit dublin 2015   pemt analysis and valuationTaus qe summit dublin 2015   pemt analysis and valuation
Taus qe summit dublin 2015 pemt analysis and valuation
Paul Filkin
(150324) Everything you ever wanted to know about Studio!
(150324) Everything you ever wanted to know about Studio!(150324) Everything you ever wanted to know about Studio!
(150324) Everything you ever wanted to know about Studio!
Paul Filkin
The New Lisbon University - SDL Open Exchange 2015
The New Lisbon University -  SDL Open Exchange 2015The New Lisbon University -  SDL Open Exchange 2015
The New Lisbon University - SDL Open Exchange 2015
Paul Filkin
FIT XXth World Congress in Berlin - SDL Tools Workshop
FIT XXth World Congress in Berlin - SDL Tools WorkshopFIT XXth World Congress in Berlin - SDL Tools Workshop
FIT XXth World Congress in Berlin - SDL Tools Workshop
Paul Filkin
Easier Audiovisual Translation with SDL Trados Studio
Easier Audiovisual Translation with SDL Trados StudioEasier Audiovisual Translation with SDL Trados Studio
Easier Audiovisual Translation with SDL Trados Studio
Paul Filkin
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Ask the Experts: SDL Trados live Q+A webinar  for freelance translatorsAsk the Experts: SDL Trados live Q+A webinar  for freelance translators
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Paul Filkin
Subtitling in SDL Trados Studio
Subtitling in SDL Trados StudioSubtitling in SDL Trados Studio
Subtitling in SDL Trados Studio
Paul Filkin
GALA 2014 Are you really interoperable?
GALA 2014   Are you really interoperable?GALA 2014   Are you really interoperable?
GALA 2014 Are you really interoperable?
Paul Filkin
Trikonf 2015 - Community, Studio and the OpenExchange
Trikonf 2015  - Community, Studio and the OpenExchangeTrikonf 2015  - Community, Studio and the OpenExchange
Trikonf 2015 - Community, Studio and the OpenExchange
Paul Filkin
Taus qe summit dublin 2015 pemt analysis and valuation
Taus qe summit dublin 2015   pemt analysis and valuationTaus qe summit dublin 2015   pemt analysis and valuation
Taus qe summit dublin 2015 pemt analysis and valuation
Paul Filkin
(150324) Everything you ever wanted to know about Studio!
(150324) Everything you ever wanted to know about Studio!(150324) Everything you ever wanted to know about Studio!
(150324) Everything you ever wanted to know about Studio!
Paul Filkin
The New Lisbon University - SDL Open Exchange 2015
The New Lisbon University -  SDL Open Exchange 2015The New Lisbon University -  SDL Open Exchange 2015
The New Lisbon University - SDL Open Exchange 2015
Paul Filkin
FIT XXth World Congress in Berlin - SDL Tools Workshop
FIT XXth World Congress in Berlin - SDL Tools WorkshopFIT XXth World Congress in Berlin - SDL Tools Workshop
FIT XXth World Congress in Berlin - SDL Tools Workshop
Paul Filkin

Recently uploaded (20)

Disk Drill Pro crack free software download
Disk Drill Pro crack free software downloadDisk Drill Pro crack free software download
Disk Drill Pro crack free software download
calewi5784
Wondershare MobileTrans Crack [2025] Download
Wondershare MobileTrans Crack [2025] DownloadWondershare MobileTrans Crack [2025] Download
Wondershare MobileTrans Crack [2025] Download
waqasraza123aa
Skype 125.0.201 Crack key Free Download
Skype 125.0.201 Crack  key Free DownloadSkype 125.0.201 Crack  key Free Download
Skype 125.0.201 Crack key Free Download
alihamzakpa015
AutoCAD 2025 Crack By Autodesk Free Serial Number
AutoCAD 2025 Crack By Autodesk Free Serial NumberAutoCAD 2025 Crack By Autodesk Free Serial Number
AutoCAD 2025 Crack By Autodesk Free Serial Number
abbaskhan123tt
GraphPad Prism Patch Crack [Latest] Free Download
GraphPad Prism Patch Crack [Latest] Free DownloadGraphPad Prism Patch Crack [Latest] Free Download
GraphPad Prism Patch Crack [Latest] Free Download
shaidnawaz586
Toon Boom Harmony Premium Crack Activation Key
Toon Boom Harmony Premium Crack Activation KeyToon Boom Harmony Premium Crack Activation Key
Toon Boom Harmony Premium Crack Activation Key
raffayihan9
IObit Advanced SystemCare Pro crack free software
IObit Advanced SystemCare Pro crack free softwareIObit Advanced SystemCare Pro crack free software
IObit Advanced SystemCare Pro crack free software
rigimas859
PeopleTools 8.54 Features for the Oracle DBA
PeopleTools 8.54 Features for the Oracle DBAPeopleTools 8.54 Features for the Oracle DBA
PeopleTools 8.54 Features for the Oracle DBA
David Kurtz
Advance Steel Addon for Autodesk AutoCAD Crack Free Download
Advance Steel Addon for Autodesk AutoCAD Crack Free DownloadAdvance Steel Addon for Autodesk AutoCAD Crack Free Download
Advance Steel Addon for Autodesk AutoCAD Crack Free Download
raffayihan9
Markdown Monster 3.3.17 Crack Free Download
Markdown Monster 3.3.17 Crack Free DownloadMarkdown Monster 3.3.17 Crack Free Download
Markdown Monster 3.3.17 Crack Free Download
alihamzakpa06
Data structures (Array 1 dimensional).pptx
Data structures (Array 1 dimensional).pptxData structures (Array 1 dimensional).pptx
Data structures (Array 1 dimensional).pptx
itzsomeone50
USING GRAALVM IN PRODUCTION - JAVAONE.pdf
USING GRAALVM IN PRODUCTION - JAVAONE.pdfUSING GRAALVM IN PRODUCTION - JAVAONE.pdf
USING GRAALVM IN PRODUCTION - JAVAONE.pdf
Alina Yurenko
Movavi Video Editor Plus 2024 24.1.1 Crack
Movavi Video Editor Plus 2024 24.1.1 CrackMovavi Video Editor Plus 2024 24.1.1 Crack
Movavi Video Editor Plus 2024 24.1.1 Crack
multenoydo
ManyCam 9.1.0.5 Crack free software download
ManyCam 9.1.0.5 Crack free software downloadManyCam 9.1.0.5 Crack free software download
ManyCam 9.1.0.5 Crack free software download
hebosay262
IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)
IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)
IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)
basitayoubi71
Autodesk Maya Crack 2025.2 free Download
Autodesk Maya Crack 2025.2 free DownloadAutodesk Maya Crack 2025.2 free Download
Autodesk Maya Crack 2025.2 free Download
malikdanish010kp
User Acceptance Testing (UAT): A Complete Guide to Ensuring Software Success
User Acceptance Testing (UAT): A Complete Guide to Ensuring Software SuccessUser Acceptance Testing (UAT): A Complete Guide to Ensuring Software Success
User Acceptance Testing (UAT): A Complete Guide to Ensuring Software Success
Shubham Joshi
Serato Dj Pro Crack 2025 version 3.2.4 for windows
Serato Dj Pro Crack 2025 version 3.2.4 for windowsSerato Dj Pro Crack 2025 version 3.2.4 for windows
Serato Dj Pro Crack 2025 version 3.2.4 for windows
zoyabibi123tt
Revo Uninstaller Pro 5.2.6 Crack + License Key
Revo Uninstaller Pro 5.2.6 Crack + License KeyRevo Uninstaller Pro 5.2.6 Crack + License Key
Revo Uninstaller Pro 5.2.6 Crack + License Key
ahsan04kp
Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...
Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...
Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...
OnePlan Solutions
Disk Drill Pro crack free software download
Disk Drill Pro crack free software downloadDisk Drill Pro crack free software download
Disk Drill Pro crack free software download
calewi5784
Wondershare MobileTrans Crack [2025] Download
Wondershare MobileTrans Crack [2025] DownloadWondershare MobileTrans Crack [2025] Download
Wondershare MobileTrans Crack [2025] Download
waqasraza123aa
Skype 125.0.201 Crack key Free Download
Skype 125.0.201 Crack  key Free DownloadSkype 125.0.201 Crack  key Free Download
Skype 125.0.201 Crack key Free Download
alihamzakpa015
AutoCAD 2025 Crack By Autodesk Free Serial Number
AutoCAD 2025 Crack By Autodesk Free Serial NumberAutoCAD 2025 Crack By Autodesk Free Serial Number
AutoCAD 2025 Crack By Autodesk Free Serial Number
abbaskhan123tt
GraphPad Prism Patch Crack [Latest] Free Download
GraphPad Prism Patch Crack [Latest] Free DownloadGraphPad Prism Patch Crack [Latest] Free Download
GraphPad Prism Patch Crack [Latest] Free Download
shaidnawaz586
Toon Boom Harmony Premium Crack Activation Key
Toon Boom Harmony Premium Crack Activation KeyToon Boom Harmony Premium Crack Activation Key
Toon Boom Harmony Premium Crack Activation Key
raffayihan9
IObit Advanced SystemCare Pro crack free software
IObit Advanced SystemCare Pro crack free softwareIObit Advanced SystemCare Pro crack free software
IObit Advanced SystemCare Pro crack free software
rigimas859
PeopleTools 8.54 Features for the Oracle DBA
PeopleTools 8.54 Features for the Oracle DBAPeopleTools 8.54 Features for the Oracle DBA
PeopleTools 8.54 Features for the Oracle DBA
David Kurtz
Advance Steel Addon for Autodesk AutoCAD Crack Free Download
Advance Steel Addon for Autodesk AutoCAD Crack Free DownloadAdvance Steel Addon for Autodesk AutoCAD Crack Free Download
Advance Steel Addon for Autodesk AutoCAD Crack Free Download
raffayihan9
Markdown Monster 3.3.17 Crack Free Download
Markdown Monster 3.3.17 Crack Free DownloadMarkdown Monster 3.3.17 Crack Free Download
Markdown Monster 3.3.17 Crack Free Download
alihamzakpa06
Data structures (Array 1 dimensional).pptx
Data structures (Array 1 dimensional).pptxData structures (Array 1 dimensional).pptx
Data structures (Array 1 dimensional).pptx
itzsomeone50
USING GRAALVM IN PRODUCTION - JAVAONE.pdf
USING GRAALVM IN PRODUCTION - JAVAONE.pdfUSING GRAALVM IN PRODUCTION - JAVAONE.pdf
USING GRAALVM IN PRODUCTION - JAVAONE.pdf
Alina Yurenko
Movavi Video Editor Plus 2024 24.1.1 Crack
Movavi Video Editor Plus 2024 24.1.1 CrackMovavi Video Editor Plus 2024 24.1.1 Crack
Movavi Video Editor Plus 2024 24.1.1 Crack
multenoydo
ManyCam 9.1.0.5 Crack free software download
ManyCam 9.1.0.5 Crack free software downloadManyCam 9.1.0.5 Crack free software download
ManyCam 9.1.0.5 Crack free software download
hebosay262
IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)
IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)
IObit Advanced SystemCare Pro 18.2.0.223 Crack (Latest 2025)
basitayoubi71
Autodesk Maya Crack 2025.2 free Download
Autodesk Maya Crack 2025.2 free DownloadAutodesk Maya Crack 2025.2 free Download
Autodesk Maya Crack 2025.2 free Download
malikdanish010kp
User Acceptance Testing (UAT): A Complete Guide to Ensuring Software Success
User Acceptance Testing (UAT): A Complete Guide to Ensuring Software SuccessUser Acceptance Testing (UAT): A Complete Guide to Ensuring Software Success
User Acceptance Testing (UAT): A Complete Guide to Ensuring Software Success
Shubham Joshi
Serato Dj Pro Crack 2025 version 3.2.4 for windows
Serato Dj Pro Crack 2025 version 3.2.4 for windowsSerato Dj Pro Crack 2025 version 3.2.4 for windows
Serato Dj Pro Crack 2025 version 3.2.4 for windows
zoyabibi123tt
Revo Uninstaller Pro 5.2.6 Crack + License Key
Revo Uninstaller Pro 5.2.6 Crack + License KeyRevo Uninstaller Pro 5.2.6 Crack + License Key
Revo Uninstaller Pro 5.2.6 Crack + License Key
ahsan04kp
Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...
Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...
Standardizing Project Portfolio Reporting - Eliminating Errors, Improving Gov...
OnePlan Solutions

(151030) The X files

Editor's Notes

  • #3: XML is a software- and hardware-independent tool for storing and transporting data. It doesnt do anything it just stores data thats used somewhere else, often in multiple places. Why is it called XML, my guess is that "XML" looked a lot cooler than "EML. The important part in here is actually the eXtensible bit So XML has rules but the developer has complete freedom to extend these and use them as he sees fit. So there are no predefined tags as there are in HTML for example
  • #4: All the translatable text is in elements and all the elements are translatable
  • #5: Studio, memoQ, Caf辿 Tran
  • #6: When only the title is in an element and all the lines have been moved into attributes
  • #7: When only the title is in an element and all the lines have been moved into attributes
  • #8: So Studio would allow you to create a custom XML filetype, you import the file and it extracts the elements and attributes for you to easily select with a dropdown box. D辿j Vu lists all the elements and attributes so you go through each one and tell it how to handle them. But not all tools allow you to handle this at all so in my example Caf辿 Tran does not let customise XML requirements at all so you would not be able to handle these files with Caf辿 Tran for example.
  • #9: In this example we have valid XML but it starts to get a little trickier CDATA sections and has the same text element but may not be an element you want to translate alternative translations that might be helpful as a preview Also the text elements are nested in verse# elements, so multiple rules could be required if you needed to be specific Max/min text lengths, maybe to suit some fixed window translate=n attribute
  • #10: In this example we have valid XML but it starts to get a little trickier CDATA sections and has the same text element but may not be an element you want to translate alternative translations that might be helpful as a preview Also the text elements are nested in verse# elements, so multiple rules could be required if you needed to be specific Max/min text lengths, maybe to suit some fixed window translate=n attribute
  • #11: In this example we have valid XML but it starts to get a little trickier CDATA sections and has the same text element but may not be an element you want to translate alternative translations that might be helpful as a preview Also the text elements are nested in verse# elements, so multiple rules could be required if you needed to be specific Max/min text lengths, maybe to suit some fixed window translate=n attribute
  • #12: In this example we have valid XML but it starts to get a little trickier CDATA sections and has the same text element but may not be an element you want to translate alternative translations that might be helpful as a preview Also the text elements are nested in verse# elements, so multiple rules could be required if you needed to be specific Max/min text lengths, maybe to suit some fixed window translate=n attribute
  • #13: So this is nothing specific to Studio or memoQ for example this is a World Wide Web Consortium (w3c) recommendation as a web standard. So its easy to find information on how to learn this. Were going to look at some basics to get you started.
  • #14: What all that means is just this
  • #15: There isnt a lot a theory around this, but it does take a little digesting and plenty of time to get your head around it all. Its also all worth learning.
  • #16: But if at this point youre starting to feel like he does then dont worry we only have an hour!! Of course its important to know all this stuff if you want to be completely comfortable with XPath, but for our normal day to day needs I dont think you do. So lets try and cut to the chase
  • #17: Here we see two of a possible seven kinds of XPath nodes. An element and an attribute. text was the element simply referred to by name, and line was the attribute also referred to by name, but recognised as an attribute by using the @ symbol.
  • #18: Here we see two of a possible seven kinds of XPath nodes. An element and an attribute. text was the element simply referred to by name, and line was the attribute also referred to by name, but recognised as an attribute by using the @ symbol.
  • #19: Its a little like a file path. We all know how these work and the path takes you straight to the file. Now add the XPath expression we just saw on the end The // just means select from the text node no matter where in the path it is.
  • #20: Its a little like a file path. We all know how these work and the path takes you straight to the file. Now add the XPath expression we just saw on the end The // just means select from the text node no matter where in the path it is.
  • #23: Worth mentioning but not free. Small built in helper tool available when using the memoQ multilingual XML filetype.
  • #30: Lets consider this simple sentence and break it down into a few simple components.
  • #31: Lets consider this simple sentence and break it down into a few simple components.
  • #32: Lets consider this simple sentence and break it down into a few simple components.
  • #33: Lets consider this simple sentence and break it down into a few simple components.
  • #34: Now lets take the same sentence and mark it up like this. This is basically how an XPath expression works using predicates. The node test would be the complete subject, and the predicate is always enclosed in square brackets.
  • #35: Now lets take the same sentence and mark it up like this. This is basically how an XPath expression works using predicates. The node test would be the complete subject, and the predicate is always enclosed in square brackets.
  • #36: Now lets take the same sentence and mark it up like this. This is basically how an XPath expression works using predicates. The node test would be the complete subject, and the predicate is always enclosed in square brackets.
  • #37: Now lets take the same sentence and mark it up like this. This is basically how an XPath expression works using predicates. The node test would be the complete subject, and the predicate is always enclosed in square brackets.
  • #40: This is all about conflict resolution. Namespaces provide a way to avoid element name conflicts, but sometimes these cause complexity for the simple task of extracting all the text for translation.
  • #45: XSLT is used to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML. With XSLT you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more.
  • #50: memoQ cant handle images unless they are referred to from a URL (confirmed by G叩bor Ugray) but the style and flow of the document is there.
  • #51: memoQ cant handle images unless they are referred to from a URL (confirmed by G叩bor Ugray) but the style and flow of the document is there.