H
Hvid Hat
Hello
How should I go about marking certain words in a text? I've got a list of
words:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Mark.xsl"?>
<Words>
<Word>
<Acronym>XML</Acronym>
<Description>eXtensible Markup Language</Description>
</Word>
<Word>
<Acronym>SGML</Acronym>
<Description>Standard Generalized Markup Language</Description>
</Word>
<Word>
<Acronym>ISO</Acronym>
<Description>International Organization for Standardization</Description>
</Word>
</Words>
I want the words (acronyms) above to be marked within bold-tags in the text
below:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xslutput method="xml"
version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="Words">
XML is a simple, very flexible text format derived from SGML (ISO 8879)
</xsl:template>
</xsl:stylesheet>
Can someone help me on my way?
How should I go about marking certain words in a text? I've got a list of
words:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Mark.xsl"?>
<Words>
<Word>
<Acronym>XML</Acronym>
<Description>eXtensible Markup Language</Description>
</Word>
<Word>
<Acronym>SGML</Acronym>
<Description>Standard Generalized Markup Language</Description>
</Word>
<Word>
<Acronym>ISO</Acronym>
<Description>International Organization for Standardization</Description>
</Word>
</Words>
I want the words (acronyms) above to be marked within bold-tags in the text
below:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xslutput method="xml"
version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="Words">
XML is a simple, very flexible text format derived from SGML (ISO 8879)
</xsl:template>
</xsl:stylesheet>
Can someone help me on my way?